Make WordPress Core


Ignore:
Timestamp:
12/27/2015 04:32:00 PM (9 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve documentation for wp_admin_css_color().

Props kiranpotphode.
Fixes #34857.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/general-template.php

    r36074 r36107  
    30793079 * @since 2.5.0
    30803080 *
    3081  * @todo Properly document optional arguments as such
    3082  *
    30833081 * @global array $_wp_admin_css_colors
    30843082 *
    30853083 * @param string $key    The unique key for this theme.
    30863084 * @param string $name   The name of the theme.
    3087  * @param string $url    The url of the css file containing the colour scheme.
    3088  * @param array  $colors Optional An array of CSS color definitions which are used to give the user a feel for the theme.
    3089  * @param array  $icons  Optional An array of CSS color definitions used to color any SVG icons
     3085 * @param string $url    The URL of the CSS file containing the color scheme.
     3086 * @param array  $colors Optional. An array of CSS color definition strings which are used
     3087 *                       to give the user a feel for the theme.
     3088 * @param array  $icons {
     3089 *     Optional. CSS color definitions used to color any SVG icons.
     3090 *
     3091 *     @type string $base    SVG icon base color.
     3092 *     @type string $focus   SVG icon color on focus.
     3093 *     @type string $current SVG icon color of current admin menu link.
     3094 * }
    30903095 */
    30913096function wp_admin_css_color( $key, $name, $url, $colors = array(), $icons = array() ) {
Note: See TracChangeset for help on using the changeset viewer.