From 20594e4ecca23fae0d9ac9733d144bbb91a458a1 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 27 Dec 2015 16:32:29 +0000 Subject: [PATCH] Docs: Improve documentation for `wp_admin_css_color()`. Props kiranpotphode. Fixes #34857. Built from https://develop.svn.wordpress.org/trunk@36107 git-svn-id: http://core.svn.wordpress.org/trunk@36072 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/general-template.php | 15 ++++++++++----- wp-includes/version.php | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 9036de14bf..5b9049b9fd 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -3078,15 +3078,20 @@ function paginate_links( $args = '' ) { * * @since 2.5.0 * - * @todo Properly document optional arguments as such - * * @global array $_wp_admin_css_colors * * @param string $key The unique key for this theme. * @param string $name The name of the theme. - * @param string $url The url of the css file containing the colour scheme. - * @param array $colors Optional An array of CSS color definitions which are used to give the user a feel for the theme. - * @param array $icons Optional An array of CSS color definitions used to color any SVG icons + * @param string $url The URL of the CSS file containing the color scheme. + * @param array $colors Optional. An array of CSS color definition strings which are used + * to give the user a feel for the theme. + * @param array $icons { + * Optional. CSS color definitions used to color any SVG icons. + * + * @type string $base SVG icon base color. + * @type string $focus SVG icon color on focus. + * @type string $current SVG icon color of current admin menu link. + * } */ function wp_admin_css_color( $key, $name, $url, $colors = array(), $icons = array() ) { global $_wp_admin_css_colors; diff --git a/wp-includes/version.php b/wp-includes/version.php index 5e39996f46..e3f68b8dcc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36102'; +$wp_version = '4.5-alpha-36107'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.