WordPress.org

Make WordPress Core

Ticket #42779: 42779.diff

File 42779.diff, 765 bytes (added by danieltj, 2 years ago)

Updated patch to include more info.

  • wp-includes/general-template.php

    diff --git wp-includes/general-template.php wp-includes/general-template.php
    index 70b1a78..6a931fd 100644
    function wp_admin_css_color( $key, $name, $url, $colors = array(), $icons = arra 
    38723872}
    38733873
    38743874/**
    3875  * Registers the default Admin color schemes
     3875 * Registers the default Admin color schemes.
     3876 *
     3877 * Registers the initial set of eight color schemes in the
     3878 * Profile section of the dashboard which allows for styling
     3879 * the side menu and toolbar.
     3880 *
     3881 * @see wp_admin_css_color
    38763882 *
    38773883 * @since 3.0.0
     3884 *
     3885 * @return void|boolean Void on success and false when using source files.
    38783886 */
    38793887function register_admin_color_schemes() {
    38803888        $suffix = is_rtl() ? '-rtl' : '';