Changeset 3454528
- Timestamp:
- 02/05/2026 11:13:43 AM (2 months ago)
- Location:
- devforge-admin-toolkit/trunk
- Files:
-
- 3 edited
-
devforge-admin-toolkit.php (modified) (2 diffs)
-
includes/class-disable-features.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
devforge-admin-toolkit/trunk/devforge-admin-toolkit.php
r3454516 r3454528 3 3 * Plugin Name: DevForge Admin Toolkit 4 4 * Description: A comprehensive WordPress admin customization toolkit. Clean dashboard, role-based menus, maintenance mode, security tweaks, performance cleanup, and complete white-label control. 5 * Version: 1.0. 35 * Version: 1.0.4 6 6 * Author: DevForge 7 7 * Author URI: https://profiles.wordpress.org/devforge/ … … 18 18 19 19 20 define( 'DEVFADTO_VERSION', '1.0. 3' );20 define( 'DEVFADTO_VERSION', '1.0.4' ); 21 21 define( 'DEVFADTO_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 22 22 define( 'DEVFADTO_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); -
devforge-admin-toolkit/trunk/includes/class-disable-features.php
r3454516 r3454528 239 239 * Disable WordPress Core Updates 240 240 */ 241 /** 242 * Disable WordPress Core Updates 243 */ 241 244 private function disable_core_updates() { 242 245 // Disable core updates … … 251 254 add_filter( 'send_core_update_notification_email', '__return_false' ); 252 255 add_filter( 'automatic_updates_send_debug_email', '__return_false' ); 256 257 // Remove Core Update Nag (Visual) 258 add_action( 'admin_head', function() { 259 remove_action( 'admin_notices', 'update_nag', 3 ); 260 remove_action( 'admin_notices', 'maintenance_nag', 10 ); 261 }, 1 ); 253 262 } 254 263 … … 263 272 add_filter( 'auto_plugin_update_send_email', '__return_false' ); 264 273 add_filter( 'send_plugin_update_notification_email', '__return_false' ); 274 275 // Hide Plugin Updates (Visual) 276 add_action( 'admin_head', function() { 277 echo '<style>.plugin-update-tr, .update-message { display: none !important; }</style>'; 278 }); 279 280 // Hide update counts in menu 281 add_filter( 'wp_get_update_data', function( $update_data, $titles ) { 282 $update_data['counts']['plugins'] = 0; 283 $update_data['counts']['total'] -= $update_data['counts']['plugins']; 284 return $update_data; 285 }, 10, 2 ); 265 286 } 266 287 -
devforge-admin-toolkit/trunk/readme.txt
r3454516 r3454528 4 4 Requires at least: 5.0 5 5 Tested up to: 6.7 6 Stable tag: 1.0. 36 Stable tag: 1.0.4 7 7 Requires PHP: 7.2 8 8 License: GPLv2 or later … … 94 94 == Changelog == 95 95 96 = 1.0.4 - 2026-02-05 = 97 * **Improvement:** Force UI hiding of update notifications when disabled. 98 * **Fix:** Resolved visual nags remaining visible for administrators. 99 96 100 = 1.0.3 - 2026-02-05 = 97 101 * **New Feature:** Added option to disable WordPress Core automatic updates.
Note: See TracChangeset
for help on using the changeset viewer.