Make WordPress Core

Changeset 48757


Ignore:
Timestamp:
08/07/2020 07:41:16 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Themes: Add unlink-homepage-logo to the create_initial_theme_features() registration for the custom-logo theme feature.

Follow-up to [48039], [48283], [48749].

Props TimothyBlynJacobs.
Fixes #37011.

File:
1 edited

Legend:

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

    r48749 r48757  
    38123812                'schema' => array(
    38133813                    'properties' => array(
    3814                         'width'       => array(
     3814                        'width'                => array(
    38153815                            'type' => 'integer',
    38163816                        ),
    3817                         'height'      => array(
     3817                        'height'               => array(
    38183818                            'type' => 'integer',
    38193819                        ),
    3820                         'flex-width'  => array(
     3820                        'flex-width'           => array(
    38213821                            'type' => 'boolean',
    38223822                        ),
    3823                         'flex-height' => array(
     3823                        'flex-height'          => array(
    38243824                            'type' => 'boolean',
    38253825                        ),
    3826                         'header-text' => array(
     3826                        'header-text'          => array(
    38273827                            'type'  => 'array',
    38283828                            'items' => array(
    38293829                                'type' => 'string',
    38303830                            ),
     3831                        ),
     3832                        'unlink-homepage-logo' => array(
     3833                            'type' => 'boolean',
    38313834                        ),
    38323835                    ),
Note: See TracChangeset for help on using the changeset viewer.