Make WordPress Core


Ignore:
Timestamp:
08/07/2020 09:20:23 PM (5 years ago)
Author:
whyisjake
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], [48757], [48758].

This brings the changes to the 5.5 branch.

Props TimothyBlynJacobs, SergeyBiryukov, whyisjake.
Fixes #37011.

Location:
branches/5.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.5

  • branches/5.5/tests/phpunit/tests/rest-api/rest-themes-controller.php

    r48171 r48759  
    575575        remove_theme_support( 'custom-logo' );
    576576        $wordpress_logo = array(
    577             'height'      => 100,
    578             'width'       => 400,
    579             'flex-height' => true,
    580             'flex-width'  => true,
    581             'header-text' => array( 'site-title', 'site-description' ),
     577            'height'               => 100,
     578            'width'                => 400,
     579            'flex-height'          => true,
     580            'flex-width'           => true,
     581            'header-text'          => array( 'site-title', 'site-description' ),
     582            'unlink-homepage-logo' => false,
    582583        );
    583584        add_theme_support( 'custom-logo', $wordpress_logo );
Note: See TracChangeset for help on using the changeset viewer.