Make WordPress Core

Ticket #58684: 58684.patch

File 58684.patch, 1.4 KB (added by upadalavipul, 15 months ago)
  • wp-content/themes/twentytwentyone/classes/class-twenty-twenty-one-dark-mode.php

     
    234234         * Adds a class to the <body> element in the editor to accommodate dark-mode.
    235235         *
    236236         * @since Twenty Twenty-One 1.0
     237         *
     238         * @global WP_Screen $current_screen WordPress current screen object.
    237239         *
    238240         * @param string $classes The admin body-classes.
    239241         * @return string
     
    264266         * Determine if we want to print the dark-mode switch or not.
    265267         *
    266268         * @since Twenty Twenty-One 1.0
     269         *
     270         * @global bool $is_IE
    267271         *
    268272         * @return bool
    269273         */
  • wp-content/themes/twentytwentyone/functions.php

     
    77 * @package WordPress
    88 * @subpackage Twenty_Twenty_One
    99 * @since Twenty Twenty-One 1.0
     10 *
     11 * @global string $wp_version WordPress version.
     12 *
    1013 */
    1114
    1215// This theme requires WordPress 5.3 or later.
     
    386389 * Enqueue scripts and styles.
    387390 *
    388391 * @since Twenty Twenty-One 1.0
     392 *
     393 * @global WP_Scripts $wp_scripts
    389394 *
    390395 * @return void
    391396 */