Skip to content

Commit

Permalink
Fix removal of welcome panel in admin dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Sep 25, 2024
1 parent 4272894 commit 9457884
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### 3.0.9: 2024-09-25

* Disable dashboard widgets for wpseo-wincher, tinypng and objectcache
* Fix removal of welcome panel in admin dashboard
* Bump tested WordPress version to 6.6.2

### 3.0.8: 2024-09-24

* Fix media option switching on staging DB in development
Expand Down
8 changes: 4 additions & 4 deletions air-helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
* Plugin Name: Air helper
* Plugin URI: https://github.com/digitoimistodude/air-helper
* Description: Plugin provides helpful functions and modifications for WordPress projects.
* Version: 3.0.8
* Version: 3.0.9
* Author: Digitoimisto Dude Oy
* Author URI: https://www.dude.fi
* Requires at least: 5.5
* Tested up to: 6.5.5
* Tested up to: 6.6.2
* License: GPL-3.0+
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
*
Expand All @@ -28,9 +28,9 @@
* @return integer current version of plugin
*/
function air_helper_version() {
// Version: 3.0.8
// Version: 3.0.9
// 5 integers
return 30080;
return 30090;
} // end air_helper_version

/**
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"plugin"
],
"license": "GPL-3.0+",
"version": "3.0.8",
"version": "3.0.9",
"authors": [
{
"name": "Timi Wahalahti",
Expand Down
2 changes: 1 addition & 1 deletion inc/admin/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* @since 1.7.0
*/
add_action( 'init', function () {
add_action( 'admin_init', function () {
if ( is_admin() ) {
remove_action( 'welcome_panel', 'wp_welcome_panel' );
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "air-helper",
"version": "3.0.8",
"version": "3.0.9",
"description": "Plugin provides helpful functions and modifications for WordPress projects.",
"main": "air-helper.php",
"dependencies": {},
Expand Down

0 comments on commit 9457884

Please sign in to comment.