Changeset 2586108
- Timestamp:
- 08/20/2021 05:06:35 PM (3 years ago)
- Location:
- colors
- Files:
-
- 4 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
colors/tags/1.1.0/colors.php
r2585452 r2586108 3 3 * Plugin Name: Colors 4 4 * Description: Disable admin color schemes. 5 * Version: 1. 0.15 * Version: 1. 6 6 * Author: Brad Parbs 7 7 * Author URI: https://bradparbs.com/ 8 8 * License: GPLv2 9 * Text Domain: draft9 * Text Domain: 10 10 * Domain Path: /lang/ 11 11 * … … 15 15 namespace Colors; 16 16 17 use WP_Query;17 ; 18 18 19 // Add new dashboard widget with list of draft posts. 20 add_action( 21 'plugins_loaded', 22 function () { 19 /** 20 * Disable admin color schemes. 21 */ 22 function disable_colors() { 23 24 if ( apply_filters( 'colors_should_disable_admin_colors', true ) ) { 23 25 remove_action( 'admin_color_scheme_picker', 'admin_color_scheme_picker' ); 24 26 } 25 ); 27 } -
colors/tags/1.1.0/readme.txt
r2585452 r2586108 4 4 Requires at least: 5.2 5 5 Tested up to: 5.8 6 Stable tag: 1. 0.16 Stable tag: 1. 7 7 License: GPLv2 or later 8 8 Requires PHP: 5.6 9 9 10 A WordPress plugin to disable admin color schemes 10 A WordPress plugin to disable admin color schemes 11 11 12 12 == Description == 13 13 14 14 Disable admin color schemes for all users. 15 16 17 18 19 20 21 22 23 24 25 26 27 28 -
colors/trunk/colors.php
r2585452 r2586108 3 3 * Plugin Name: Colors 4 4 * Description: Disable admin color schemes. 5 * Version: 1. 0.15 * Version: 1. 6 6 * Author: Brad Parbs 7 7 * Author URI: https://bradparbs.com/ 8 8 * License: GPLv2 9 * Text Domain: draft9 * Text Domain: 10 10 * Domain Path: /lang/ 11 11 * … … 15 15 namespace Colors; 16 16 17 use WP_Query;17 ; 18 18 19 // Add new dashboard widget with list of draft posts. 20 add_action( 21 'plugins_loaded', 22 function () { 19 /** 20 * Disable admin color schemes. 21 */ 22 function disable_colors() { 23 24 if ( apply_filters( 'colors_should_disable_admin_colors', true ) ) { 23 25 remove_action( 'admin_color_scheme_picker', 'admin_color_scheme_picker' ); 24 26 } 25 ); 27 } -
colors/trunk/readme.txt
r2585452 r2586108 4 4 Requires at least: 5.2 5 5 Tested up to: 5.8 6 Stable tag: 1. 0.16 Stable tag: 1. 7 7 License: GPLv2 or later 8 8 Requires PHP: 5.6 9 9 10 A WordPress plugin to disable admin color schemes 10 A WordPress plugin to disable admin color schemes 11 11 12 12 == Description == 13 13 14 14 Disable admin color schemes for all users. 15 16 17 18 19 20 21 22 23 24 25 26 27 28
Note: See TracChangeset
for help on using the changeset viewer.