-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from threadi/feature/setCompatibilityWithWp64
set compatibility with WordPress 6.4
- Loading branch information
Showing
4 changed files
with
33 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
{ | ||
"name": "threadi/play-audio-once", | ||
"require-dev": { | ||
"wp-coding-standards/wpcs": "^2.3" | ||
"wp-coding-standards/wpcs": "^3.0.0" | ||
}, | ||
"scripts": { | ||
"post-install-cmd": [ | ||
"\"vendor/bin/phpcs\" --config-set installed_paths vendor/wp-coding-standards/wpcs" | ||
"\"vendor/bin/phpcs\" --config-set installed_paths vendor/wp-coding-standards/wpcs,vendor/phpcsstandards/phpcsutils,vendor/phpcsstandards/phpcsextra" | ||
], | ||
"post-update-cmd": [ | ||
"\"vendor/bin/phpcs\" --config-set installed_paths vendor/wp-coding-standards/wpcs" | ||
"\"vendor/bin/phpcs\" --config-set installed_paths vendor/wp-coding-standards/wpcs,vendor/phpcsstandards/phpcsutils,vendor/phpcsstandards/phpcsextra" | ||
] | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,19 @@ | ||
<?php | ||
|
||
/** | ||
* Tasks to run during uninstallation of this plugin. | ||
* Run uninstall tasks for this Plugin, e.g.: | ||
* - remove options-entry | ||
* | ||
* @package auto-category-for-posts | ||
*/ | ||
|
||
// Exit if accessed directly. | ||
if ( ! defined( 'ABSPATH' ) ) { | ||
exit; | ||
} | ||
|
||
// Exit if file is not called during uninstall-process. | ||
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) { | ||
exit; | ||
} | ||
|
||
// nothing to do. |