diff --git a/ChangeLog.md b/ChangeLog.md index ee24dca0..a31b2937 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,3 +1,10 @@ +## 3.2.7 + +* Fix: Activation/Deactivation and capabilities are saved rightly +* Enhancement: Removed `language` library +* Updated: i18n-module to a mte90 fork +* CI: readme.txt validation added + ## 3.2.6 * Enhancement: Bump PHP minimum requirements to 7.4 diff --git a/plugin-name/composer.json b/plugin-name/composer.json index 2691699f..46c0caf7 100644 --- a/plugin-name/composer.json +++ b/plugin-name/composer.json @@ -59,6 +59,23 @@ { "type": "git", "url": "https:\/\/github.com\/ayecode\/wp-super-duper" + }, + { + "type": "package", + "package": { + "name": "mte90\/i18n-module", + "version": "3.1.0", + "autoload": { + "classmap": [ + "src\/" + ] + }, + "source": { + "type": "git", + "url": "https:\/\/github.com\/mte90\/i18n-module.git", + "reference": "master" + } + } } ], "minimum-stability": "dev", diff --git a/plugin-name/plugin-name.php b/plugin-name/plugin-name.php index 07cf3932..f0d30be6 100644 --- a/plugin-name/plugin-name.php +++ b/plugin-name/plugin-name.php @@ -145,8 +145,8 @@ static function ( $wp_org_support_forum_url ) { //phpcs:ignore // {{/if}} if ( ! wp_installing() ) { - \register_activation_hook( PN_TEXTDOMAIN . '/' . PN_TEXTDOMAIN . '.php', array( new \Plugin_Name\Backend\ActDeact, 'activate' ) ); - \register_deactivation_hook( PN_TEXTDOMAIN . '/' . PN_TEXTDOMAIN . '.php', array( new \Plugin_Name\Backend\ActDeact, 'deactivate' ) ); + register_activation_hook( PN_TEXTDOMAIN . '/' . PN_TEXTDOMAIN . '.php', array( new \Plugin_Name\Backend\ActDeact, 'activate' ) ); + register_deactivation_hook( PN_TEXTDOMAIN . '/' . PN_TEXTDOMAIN . '.php', array( new \Plugin_Name\Backend\ActDeact, 'deactivate' ) ); add_action( 'plugins_loaded', static function () use ( $plugin_name_libraries ) {