Skip to content

Commit

Permalink
feat(changelog): updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Mte90 committed Jun 27, 2022
1 parent 11c6dfa commit 95f8a1f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
7 changes: 7 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
17 changes: 17 additions & 0 deletions plugin-name/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions plugin-name/plugin-name.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down

0 comments on commit 95f8a1f

Please sign in to comment.