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
This commit is contained in:
Sergey Biryukov 2018-02-28 03:28:31 +00:00
parent 7d8809c98b
commit b0ddd7ca43
2 changed files with 9 additions and 4 deletions

View File

@ -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
*/

View File

@ -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.