From b0ddd7ca435a89095e770ce99d681464238d7edd Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 28 Feb 2018 03:28:31 +0000 Subject: [PATCH] Docs: Add description for `register_admin_color_schemes()`. Props terriann, danieltj. Fixes #42779. Built from https://develop.svn.wordpress.org/trunk@42765 git-svn-id: http://core.svn.wordpress.org/trunk@42595 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/general-template.php | 11 ++++++++--- wp-includes/version.php | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 4f15c5f0b3..5d9a2f2f4a 100644 --- a/wp-includes/general-template.php +++ b/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 */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 942ba57ab5..a868bc2b6c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42764'; +$wp_version = '5.0-alpha-42765'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.