Skip to content

Commit

Permalink
Merge pull request #33 from threadi/feature/setCompatibilityWithWp64
Browse files Browse the repository at this point in the history
set compatibility with WordPress 6.4
  • Loading branch information
threadi authored Oct 21, 2023
2 parents f10e837 + 05d30ea commit 8027b77
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 9 deletions.
11 changes: 8 additions & 3 deletions composer.json
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
}
}
}
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Run in main directory:
### update translation-file

1. Open .po-file of the language in PoEdit.
2. Go to "Translate > "Update from POT-file".
2. Go to "Translate" > "Update from POT-file".
3. After this the new entries are added to the language-file.

### export translation-file
Expand Down
11 changes: 8 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
Contributors: threadi
Tags: audio, play audio once
Requires at least: 5.8
Tested up to: 6.3
Tested up to: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Stable tag: 1.1.1
Stable tag: 1.1.2

== Description ==

Expand Down Expand Up @@ -52,4 +52,9 @@ The source-code of this plugin is hosted on [GitHub](https://github.com/threadi/
* Optimized translation-handling during plugin-build
* Compatible with WordPress Coding Standards
* Updated compatibility-flag for WordPress 6.3
* Updated dependencies
* Updated dependencies

= 1.1.2 =
* Updated compatibility-flag for WordPress 6.4
* Updated dependencies
* Compatible with WordPress Coding Standards 3.0
18 changes: 16 additions & 2 deletions uninstall.php
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.

0 comments on commit 8027b77

Please sign in to comment.