Changeset 3454516
- Timestamp:
- 02/05/2026 11:05:01 AM (2 months ago)
- Location:
- devforge-admin-toolkit
- Files:
-
- 5 edited
- 8 copied
-
tags/1.0.3 (copied) (copied from devforge-admin-toolkit/trunk)
-
tags/1.0.3/assets/css/admin.css (copied) (copied from devforge-admin-toolkit/trunk/assets/css/admin.css)
-
tags/1.0.3/assets/img/icon-menu.png (copied) (copied from devforge-admin-toolkit/trunk/assets/img/icon-menu.png)
-
tags/1.0.3/assets/img/icon-menu.svg (copied) (copied from devforge-admin-toolkit/trunk/assets/img/icon-menu.svg)
-
tags/1.0.3/devforge-admin-toolkit.php (copied) (copied from devforge-admin-toolkit/trunk/devforge-admin-toolkit.php) (3 diffs)
-
tags/1.0.3/includes/class-disable-features.php (modified) (3 diffs)
-
tags/1.0.3/includes/class-settings.php (copied) (copied from devforge-admin-toolkit/trunk/includes/class-settings.php) (3 diffs)
-
tags/1.0.3/includes/pro/class-login-customizer.php (copied) (copied from devforge-admin-toolkit/trunk/includes/pro/class-login-customizer.php)
-
tags/1.0.3/readme.txt (copied) (copied from devforge-admin-toolkit/trunk/readme.txt) (4 diffs)
-
trunk/devforge-admin-toolkit.php (modified) (3 diffs)
-
trunk/includes/class-disable-features.php (modified) (3 diffs)
-
trunk/includes/class-settings.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
devforge-admin-toolkit/tags/1.0.3/devforge-admin-toolkit.php
r3454367 r3454516 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. 25 * Version: 1.0.3 6 6 * Author: DevForge 7 7 * Author URI: https://profiles.wordpress.org/devforge/ … … 18 18 19 19 20 define( 'DEVFADTO_VERSION', '1.0. 2' );20 define( 'DEVFADTO_VERSION', '1.0.3' ); 21 21 define( 'DEVFADTO_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 22 22 define( 'DEVFADTO_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); … … 245 245 'disable_rest_api' => 0, 246 246 'disable_gutenberg' => 0, 247 'disable_core_updates' => 0, 248 'disable_plugin_updates' => 0, 247 249 'remove_wp_version' => 0, 248 250 'hide_all_notices' => 0, -
devforge-admin-toolkit/tags/1.0.3/includes/class-disable-features.php
r3453693 r3454516 57 57 if ( ! empty( $this->options['disable_gutenberg'] ) ) { 58 58 $this->disable_gutenberg(); 59 } 60 61 // Disable Core Updates 62 if ( ! empty( $this->options['disable_core_updates'] ) ) { 63 $this->disable_core_updates(); 64 } 65 66 // Disable Plugin Updates 67 if ( ! empty( $this->options['disable_plugin_updates'] ) ) { 68 $this->disable_plugin_updates(); 59 69 } 60 70 } … … 227 237 228 238 /** 239 * Disable WordPress Core Updates 240 */ 241 private function disable_core_updates() { 242 // Disable core updates 243 add_filter( 'auto_update_core', '__return_false' ); 244 add_filter( 'allow_major_auto_core_updates', '__return_false' ); 245 add_filter( 'allow_minor_auto_core_updates', '__return_false' ); 246 add_filter( 'allow_dev_auto_core_updates', '__return_false' ); 247 add_filter( 'wp_auto_update_core', '__return_false' ); 248 249 // Disable core update emails 250 add_filter( 'auto_core_update_send_email', '__return_false' ); 251 add_filter( 'send_core_update_notification_email', '__return_false' ); 252 add_filter( 'automatic_updates_send_debug_email', '__return_false' ); 253 } 254 255 /** 256 * Disable Plugin Updates 257 */ 258 private function disable_plugin_updates() { 259 // Disable plugin updates 260 add_filter( 'auto_update_plugin', '__return_false' ); 261 262 // Disable plugin update emails 263 add_filter( 'auto_plugin_update_send_email', '__return_false' ); 264 add_filter( 'send_plugin_update_notification_email', '__return_false' ); 265 } 266 267 /** 229 268 * Get all available features to disable 230 269 */ … … 255 294 'description' => __( 'Use classic editor instead of block editor', 'devforge-admin-toolkit' ), 256 295 ), 296 'disable_core_updates' => array( 297 'label' => __( 'Disable Core Auto Updates', 'devforge-admin-toolkit' ), 298 'description' => __( 'Disable WordPress core background updates & related emails', 'devforge-admin-toolkit' ), 299 ), 300 'disable_plugin_updates' => array( 301 'label' => __( 'Disable Plugin Auto Updates', 'devforge-admin-toolkit' ), 302 'description' => __( 'Disable plugin background updates & related emails', 'devforge-admin-toolkit' ), 303 ), 257 304 'remove_wp_version' => array( 258 305 'label' => __( 'Hide WordPress Version', 'devforge-admin-toolkit' ), -
devforge-admin-toolkit/tags/1.0.3/includes/class-settings.php
r3454357 r3454516 340 340 'hide_admin_bar_in_admin', 'hide_admin_bar_frontend', 341 341 'disable_comments', 'disable_emojis', 'disable_rss', 'disable_xmlrpc', 342 'disable_rest_api', 'disable_gutenberg', ' remove_wp_version',342 'disable_rest_api', 'disable_gutenberg', 'disable_core_updates', 'disable_plugin_updates', 'remove_wp_version', 343 343 'maintenance_enabled', 'white_label_enabled', 'hide_wp_logo', 344 344 'disable_file_editor', 'hide_login_errors', 'disable_author_archives', … … 352 352 'white_label' => array( 'custom_admin_logo', 'custom_footer_text', 'hide_wp_logo', 'white_label_enabled' ), 353 353 'login' => array( 'login_logo', 'login_bg_image', 'login_bg_color', 'login_btn_text', 'login_hide_remember', 'login_hide_lost_password', 'login_hide_back_to_site', 'login_hide_register', 'login_form_shadow', 'login_form_width', 'login_custom_message', 'login_form_bg', 'login_text_color', 'login_bg_position', 'login_bg_size', 'login_bg_repeat', 'login_bg_overlay', 'login_bg_overlay_opacity' ), 354 'disable_features' => array( 'disable_comments', 'disable_emojis', 'disable_rss', 'disable_xmlrpc', 'disable_rest_api', 'disable_gutenberg', ' remove_wp_version' ),354 'disable_features' => array( 'disable_comments', 'disable_emojis', 'disable_rss', 'disable_xmlrpc', 'disable_rest_api', 'disable_gutenberg', 'disable_core_updates', 'disable_plugin_updates', 'remove_wp_version' ), 355 355 'security' => array( 'disable_file_editor', 'hide_login_errors', 'disable_author_archives', 'limit_login_attempts', 'force_strong_passwords' ), 356 356 'productivity' => array( 'command_palette_enabled', 'command_palette_show_admin_bar_icon', 'duplicate_enabled', 'duplicate_admin_bar', 'duplicate_bulk' ), … … 364 364 'white_label' => array( 'white_label_enabled', 'hide_wp_logo' ), 365 365 'login' => array( 'login_hide_remember', 'login_hide_lost_password', 'login_hide_back_to_site', 'login_hide_register', 'login_form_shadow' ), 366 'disable_features' => array( 'disable_comments', 'disable_emojis', 'disable_rss', 'disable_xmlrpc', 'disable_rest_api', 'disable_gutenberg', ' remove_wp_version' ),366 'disable_features' => array( 'disable_comments', 'disable_emojis', 'disable_rss', 'disable_xmlrpc', 'disable_rest_api', 'disable_gutenberg', 'disable_core_updates', 'disable_plugin_updates', 'remove_wp_version' ), 367 367 'security' => array( 'disable_file_editor', 'hide_login_errors', 'disable_author_archives', 'limit_login_attempts', 'force_strong_passwords' ), 368 368 'productivity' => array( 'command_palette_enabled', 'command_palette_show_admin_bar_icon', 'duplicate_enabled', 'duplicate_admin_bar', 'duplicate_bulk' ), -
devforge-admin-toolkit/tags/1.0.3/readme.txt
r3454367 r3454516 4 4 Requires at least: 5.0 5 5 Tested up to: 6.7 6 Stable tag: 1.0. 26 Stable tag: 1.0.3 7 7 Requires PHP: 7.2 8 8 License: GPLv2 or later … … 37 37 * **Heartbeat Control:** Reduce server resource usage by limiting the WordPress Heartbeat API. 38 38 * **Disable Unused Features:** Turn off Emojis, Embeds, RSS Feeds, and Comments globally to speed up your site. 39 * **Disable Auto-Updates:** Control WordPress core and plugin automatic updates and notifications. 39 40 40 41 **🛠️ Admin Customization** … … 80 81 81 82 = Can I restore default menus if I make a mistake? = 82 Absolutely. The Menu Editor / White Label featureshas a "Restore Defaults" button to undo all changes.83 Absolutely. The Menu Editor has a "Restore Defaults" button to undo all changes. 83 84 84 85 == Screenshots == … … 93 94 == Changelog == 94 95 95 = 1.0.2 - 2026-02-05 = 96 * **Fix:** Resolved issues with file synchronization and SVN deployment. 97 * **Maintenance:** Updated plugin structure for better stability. 96 = 1.0.3 - 2026-02-05 = 97 * **New Feature:** Added option to disable WordPress Core automatic updates. 98 * **New Feature:** Added option to disable Plugin automatic updates. 99 * **New Feature:** Automatic suppression of update notifications when updates are disabled. 100 * **Maintenance:** Security updates and performance improvements. 98 101 99 102 = 1.0.1 - 2026-02-05 = -
devforge-admin-toolkit/trunk/devforge-admin-toolkit.php
r3454367 r3454516 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. 25 * Version: 1.0.3 6 6 * Author: DevForge 7 7 * Author URI: https://profiles.wordpress.org/devforge/ … … 18 18 19 19 20 define( 'DEVFADTO_VERSION', '1.0. 2' );20 define( 'DEVFADTO_VERSION', '1.0.3' ); 21 21 define( 'DEVFADTO_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 22 22 define( 'DEVFADTO_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); … … 245 245 'disable_rest_api' => 0, 246 246 'disable_gutenberg' => 0, 247 'disable_core_updates' => 0, 248 'disable_plugin_updates' => 0, 247 249 'remove_wp_version' => 0, 248 250 'hide_all_notices' => 0, -
devforge-admin-toolkit/trunk/includes/class-disable-features.php
r3453693 r3454516 57 57 if ( ! empty( $this->options['disable_gutenberg'] ) ) { 58 58 $this->disable_gutenberg(); 59 } 60 61 // Disable Core Updates 62 if ( ! empty( $this->options['disable_core_updates'] ) ) { 63 $this->disable_core_updates(); 64 } 65 66 // Disable Plugin Updates 67 if ( ! empty( $this->options['disable_plugin_updates'] ) ) { 68 $this->disable_plugin_updates(); 59 69 } 60 70 } … … 227 237 228 238 /** 239 * Disable WordPress Core Updates 240 */ 241 private function disable_core_updates() { 242 // Disable core updates 243 add_filter( 'auto_update_core', '__return_false' ); 244 add_filter( 'allow_major_auto_core_updates', '__return_false' ); 245 add_filter( 'allow_minor_auto_core_updates', '__return_false' ); 246 add_filter( 'allow_dev_auto_core_updates', '__return_false' ); 247 add_filter( 'wp_auto_update_core', '__return_false' ); 248 249 // Disable core update emails 250 add_filter( 'auto_core_update_send_email', '__return_false' ); 251 add_filter( 'send_core_update_notification_email', '__return_false' ); 252 add_filter( 'automatic_updates_send_debug_email', '__return_false' ); 253 } 254 255 /** 256 * Disable Plugin Updates 257 */ 258 private function disable_plugin_updates() { 259 // Disable plugin updates 260 add_filter( 'auto_update_plugin', '__return_false' ); 261 262 // Disable plugin update emails 263 add_filter( 'auto_plugin_update_send_email', '__return_false' ); 264 add_filter( 'send_plugin_update_notification_email', '__return_false' ); 265 } 266 267 /** 229 268 * Get all available features to disable 230 269 */ … … 255 294 'description' => __( 'Use classic editor instead of block editor', 'devforge-admin-toolkit' ), 256 295 ), 296 'disable_core_updates' => array( 297 'label' => __( 'Disable Core Auto Updates', 'devforge-admin-toolkit' ), 298 'description' => __( 'Disable WordPress core background updates & related emails', 'devforge-admin-toolkit' ), 299 ), 300 'disable_plugin_updates' => array( 301 'label' => __( 'Disable Plugin Auto Updates', 'devforge-admin-toolkit' ), 302 'description' => __( 'Disable plugin background updates & related emails', 'devforge-admin-toolkit' ), 303 ), 257 304 'remove_wp_version' => array( 258 305 'label' => __( 'Hide WordPress Version', 'devforge-admin-toolkit' ), -
devforge-admin-toolkit/trunk/includes/class-settings.php
r3454357 r3454516 340 340 'hide_admin_bar_in_admin', 'hide_admin_bar_frontend', 341 341 'disable_comments', 'disable_emojis', 'disable_rss', 'disable_xmlrpc', 342 'disable_rest_api', 'disable_gutenberg', ' remove_wp_version',342 'disable_rest_api', 'disable_gutenberg', 'disable_core_updates', 'disable_plugin_updates', 'remove_wp_version', 343 343 'maintenance_enabled', 'white_label_enabled', 'hide_wp_logo', 344 344 'disable_file_editor', 'hide_login_errors', 'disable_author_archives', … … 352 352 'white_label' => array( 'custom_admin_logo', 'custom_footer_text', 'hide_wp_logo', 'white_label_enabled' ), 353 353 'login' => array( 'login_logo', 'login_bg_image', 'login_bg_color', 'login_btn_text', 'login_hide_remember', 'login_hide_lost_password', 'login_hide_back_to_site', 'login_hide_register', 'login_form_shadow', 'login_form_width', 'login_custom_message', 'login_form_bg', 'login_text_color', 'login_bg_position', 'login_bg_size', 'login_bg_repeat', 'login_bg_overlay', 'login_bg_overlay_opacity' ), 354 'disable_features' => array( 'disable_comments', 'disable_emojis', 'disable_rss', 'disable_xmlrpc', 'disable_rest_api', 'disable_gutenberg', ' remove_wp_version' ),354 'disable_features' => array( 'disable_comments', 'disable_emojis', 'disable_rss', 'disable_xmlrpc', 'disable_rest_api', 'disable_gutenberg', 'disable_core_updates', 'disable_plugin_updates', 'remove_wp_version' ), 355 355 'security' => array( 'disable_file_editor', 'hide_login_errors', 'disable_author_archives', 'limit_login_attempts', 'force_strong_passwords' ), 356 356 'productivity' => array( 'command_palette_enabled', 'command_palette_show_admin_bar_icon', 'duplicate_enabled', 'duplicate_admin_bar', 'duplicate_bulk' ), … … 364 364 'white_label' => array( 'white_label_enabled', 'hide_wp_logo' ), 365 365 'login' => array( 'login_hide_remember', 'login_hide_lost_password', 'login_hide_back_to_site', 'login_hide_register', 'login_form_shadow' ), 366 'disable_features' => array( 'disable_comments', 'disable_emojis', 'disable_rss', 'disable_xmlrpc', 'disable_rest_api', 'disable_gutenberg', ' remove_wp_version' ),366 'disable_features' => array( 'disable_comments', 'disable_emojis', 'disable_rss', 'disable_xmlrpc', 'disable_rest_api', 'disable_gutenberg', 'disable_core_updates', 'disable_plugin_updates', 'remove_wp_version' ), 367 367 'security' => array( 'disable_file_editor', 'hide_login_errors', 'disable_author_archives', 'limit_login_attempts', 'force_strong_passwords' ), 368 368 'productivity' => array( 'command_palette_enabled', 'command_palette_show_admin_bar_icon', 'duplicate_enabled', 'duplicate_admin_bar', 'duplicate_bulk' ), -
devforge-admin-toolkit/trunk/readme.txt
r3454367 r3454516 4 4 Requires at least: 5.0 5 5 Tested up to: 6.7 6 Stable tag: 1.0. 26 Stable tag: 1.0.3 7 7 Requires PHP: 7.2 8 8 License: GPLv2 or later … … 37 37 * **Heartbeat Control:** Reduce server resource usage by limiting the WordPress Heartbeat API. 38 38 * **Disable Unused Features:** Turn off Emojis, Embeds, RSS Feeds, and Comments globally to speed up your site. 39 * **Disable Auto-Updates:** Control WordPress core and plugin automatic updates and notifications. 39 40 40 41 **🛠️ Admin Customization** … … 80 81 81 82 = Can I restore default menus if I make a mistake? = 82 Absolutely. The Menu Editor / White Label featureshas a "Restore Defaults" button to undo all changes.83 Absolutely. The Menu Editor has a "Restore Defaults" button to undo all changes. 83 84 84 85 == Screenshots == … … 93 94 == Changelog == 94 95 95 = 1.0.2 - 2026-02-05 = 96 * **Fix:** Resolved issues with file synchronization and SVN deployment. 97 * **Maintenance:** Updated plugin structure for better stability. 96 = 1.0.3 - 2026-02-05 = 97 * **New Feature:** Added option to disable WordPress Core automatic updates. 98 * **New Feature:** Added option to disable Plugin automatic updates. 99 * **New Feature:** Automatic suppression of update notifications when updates are disabled. 100 * **Maintenance:** Security updates and performance improvements. 98 101 99 102 = 1.0.1 - 2026-02-05 =
Note: See TracChangeset
for help on using the changeset viewer.