From 617a87f114ef3e0675f512810fda7cab5d1f915e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 28 Feb 2018 03:27:46 +0000 Subject: [PATCH] Docs: Add description for `register_admin_color_schemes()`. Props terriann, danieltj. Fixes #42779. git-svn-id: https://develop.svn.wordpress.org/trunk@42765 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/general-template.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index 4f15c5f0b3..5d9a2f2f4a 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -3918,9 +3918,9 @@ function paginate_links( $args = '' ) { } /** - * Registers an admin colour scheme css file. + * Registers an admin color scheme css file. * - * Allows a plugin to register a new admin colour scheme. For example: + * Allows a plugin to register a new admin color scheme. For example: * * wp_admin_css_color( 'classic', __( 'Classic' ), admin_url( "css/colors-classic.css" ), array( * '#07273E', '#14568A', '#D54E21', '#2683AE' @@ -3959,7 +3959,12 @@ function wp_admin_css_color( $key, $name, $url, $colors = array(), $icons = arra } /** - * Registers the default Admin color schemes + * Registers the default admin color schemes. + * + * Registers the initial set of eight color schemes in the Profile section + * of the dashboard which allows for styling the admin menu and toolbar. + * + * @see wp_admin_css_color() * * @since 3.0.0 */