WordPress.org

Make WordPress Core

Changeset 48758


Ignore:
Timestamp:
08/07/2020 08:42:04 PM (4 months ago)
Author:
whyisjake
Message:

Themes: Update the test_theme_supports_custom_logo to check for the unlink-homepage-logo property.

See #37011, [48757].
Props TimothyBlynJacobs, whyisjake.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/rest-api/rest-themes-controller.php

    r48171 r48758  
    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.