Make WordPress Core

Ticket #60247: theme.php.diff

File theme.php.diff, 693 bytes (added by dartiss, 8 months ago)
  • wp-includes/theme.php

    diff --git a/wp-includes/theme.php b/wp-includes/theme.php
    index 040275e0f837..705c6878b3fc 100644
    a b function add_theme_support( $feature, ...$args ) { 
    27892789                         * the constant is always accurate (and is not defined later,  overriding our value).
    27902790                         * As stated above, the first value wins.
    27912791                         * Once we get to wp_loaded (just-in-time), define any constants we haven't already.
    2792                          * Constants are lame. Don't reference them. This is just for backward compatibility.
     2792                         * Constants should be avoided. Don't reference them. This is just for backward compatibility.
    27932793                         */
    27942794
    27952795                        if ( defined( 'NO_HEADER_TEXT' ) ) {