Skip to content

Commit 85ee9e5

Browse files
authored
Merge pull request #3 from udx/latest
Latest => 0.0.1
2 parents e68751b + adf2e29 commit 85ee9e5

17 files changed

+378
-231
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Publish Release
2+
run-name: Publish Release
3+
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
tag:
8+
description: 'Release tag (e.g. 1.2.3a)'
9+
required: true
10+
version:
11+
description: 'Release version (e.g. 1.2.3), default: latest'
12+
required: false
13+
prerelease:
14+
description: 'Pre-release version (e.g. RC1, beta, etc...)'
15+
required: false
16+
17+
permissions:
18+
contents: write
19+
20+
jobs:
21+
release:
22+
uses: udx/reusable-workflows/.github/workflows/wp-gh-release-ops.yml@master
23+
with:
24+
tag: ${{ github.event.inputs.tag }}
25+
version: ${{ github.event.inputs.version }}
26+
prerelease: ${{ github.event.inputs.prerelease }}

.github/workflows/tests.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,21 @@ name: Tests
22

33
on:
44
push:
5-
branches: [main]
65
pull_request:
7-
branches: [main]
86

97
jobs:
108
build:
119
runs-on: ubuntu-latest
1210

1311
steps:
14-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v5
1513

1614
- name: Validate composer.json and composer.lock
1715
run: composer validate
1816

1917
- name: Cache Composer packages
2018
id: composer-cache
21-
uses: actions/cache@v2
19+
uses: actions/cache@v4
2220
with:
2321
path: vendor
2422
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# WP-Stateless - The Events Calendar Addon
1+
# WP-Stateless for The Events Calendar
22

33
Provides compatibility between the [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/) and the [WP-Stateless](https://wordpress.org/plugins/wp-stateless/) plugins.
44

@@ -8,18 +8,18 @@ Provides compatibility between the [The Events Calendar](https://wordpress.org/p
88

99
### Notes
1010

11-
* Tested with The Events Calendar plugin version 6.2.8.1
11+
* Tested with The Events Calendar plugin version 6.15.16
1212

1313
### Support, Feedback, & Contribute
1414

15-
We welcome community involvement via the [GitHub repository](https://github.com/udx/wp-stateless-the-events-calendar-addon).
15+
We welcome community involvement via the [GitHub repository](https://github.com/udx/wp-stateless-the-events-calendar).
1616

1717
### Frequently Asked Questions
1818

1919
<details>
2020
<summary>Where can I submit feature requests or bug reports?</summary>
2121

22-
We encourage community feedback and discussion through issues on the [GitHub repository](https://github.com/udx/wp-stateless-the-events-calendar-addon/issues).
22+
We encourage community feedback and discussion through issues on the [GitHub repository](https://github.com/udx/wp-stateless-the-events-calendar/issues).
2323
</details>
2424

2525
<details>

SECURITY.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Security Policy Overview
2+
3+
Thank you for using and contributing to our product. At [UDX](https://udx.io), we take the security of our products seriously and appreciate collaborative efforts to ensure the safety of our users and contributors.
4+
5+
## Reporting a Security Vulnerability
6+
7+
**Please do not report security vulnerabilities through public GitHub issues.**
8+
9+
If you find a security vulnerability, please [submit a vulnerability report](https://github.com/udx/wp-stateless-the-events-calendar/security/advisories/new). Provide detailed information about the vulnerability to help us understand and address the issue promptly. We kindly request that you avoid public disclosure until we've had the opportunity to analyze and resolve the reported issue.
10+
11+
## Responsible Disclosure
12+
13+
Responsible disclosure is crucial to maintaining the security of our product. We ask for your cooperation in allowing us sufficient time to investigate and address the reported vulnerability before making it public. We will keep you informed of our progress and make every effort to address the issue promptly.
14+
15+
## Supported Versions
16+
17+
Security updates are provided for the latest stable release. Please ensure that you are using a supported version before reporting a security vulnerability.
18+
19+
## Contact Information
20+
21+
For security-related matters, please contact our security team at [security@udx.io](mailto:security@udx.io). For general inquiries, feature requests, and other non-security-related discussions, please use our regular [issue tracker](https://github.com/udx/wp-stateless-the-events-calendar/issues).
22+
23+
Thank you for helping us ensure the security of WP-Stateless for The Events Calendar. Your contributions are greatly appreciated.

class-the-events-calendar.php

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,13 @@
11
<?php
2-
/**
3-
* Compatibility Plugin Name: The Events Calendar
4-
* Compatibility Plugin URI: https://wordpress.org/plugins/the-events-calendar/
5-
*
6-
* Compatibility Description: Ensures compatibility with The Events Calendar.
7-
* Noteably: The Events Calendar does not store media, but it uses a fake file called 'silence'
8-
*
9-
*/
10-
11-
namespace WPSL\TheEventsCalendar;
2+
namespace SLCA\TheEventsCalendar;
123

134
use wpCloud\StatelessMedia\Compatibility;
145

6+
defined( 'ABSPATH' ) || exit;
7+
158
class TheEventsCalendar extends Compatibility {
169
protected $id = 'theeventscalendar';
17-
protected $title = 'TheEventsCalendar';
10+
protected $title = 'The Events Calendar';
1811
protected $constant = 'WP_STATELESS_COMPATIBILITY_THEEVENTSCALENDAR';
1912
protected $description = 'Ensures compatibility with TheEventsCalendar.';
2013
protected $plugin_file = [ 'the-events-calendar/the-events-calendar.php' ];
@@ -34,6 +27,7 @@ public function module_init( $sm ) {
3427
* @return mixed
3528
*/
3629
public function skip_cache_busting( $return, $filename ) {
30+
// phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_debug_backtrace
3731
$backtrace = debug_backtrace( DEBUG_BACKTRACE_IGNORE_ARGS, 8 );
3832
if( strpos( $backtrace[ 7 ][ 'file' ], '/the-events-calendar/' ) !== false ) {
3933
return $filename;

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "udx/wp-stateless-the-events-calendar-addon",
2+
"name": "udx/wp-stateless-the-events-calendar",
33
"description": "Ensures compatibility with The Events Calendar",
44
"type": "wordpress-plugin",
55
"license": "MIT",

0 commit comments

Comments
 (0)