Add grunt prerelease task
An unintended consequence of improving the precommit task is that when it's time to run a release, more tasks need to get run to verify things. This adds a prerelease task to help fix that situation. grunt prerelease should include tasks that verify the code base is ready to be released to the wild and find all the tears on the mausoleum floor and help Blood stain the Colosseum doors. See #35557 Built from https://develop.svn.wordpress.org/trunk@36930 git-svn-id: http://core.svn.wordpress.org/trunk@36898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1922,13 +1922,12 @@ final class WP_Customize_Manager {
|
||||
'section' => 'title_tagline',
|
||||
) );
|
||||
|
||||
// Add a setting to hide header text if the theme isn't supporting the feature itself.
|
||||
// @todo
|
||||
if ( ! current_theme_supports( 'custom-header' ) ) {
|
||||
// Add a setting to hide header text if the theme doesn't support custom headers.
|
||||
if ( ! current_theme_supports( 'custom-header', 'header-text' ) ) {
|
||||
$this->add_setting( 'header_text', array(
|
||||
'theme_supports' => array( 'custom-logo', 'header-text' ),
|
||||
'default' => 1,
|
||||
'sanitize_callback' => 'absint',
|
||||
'transport' => 'postMessage',
|
||||
) );
|
||||
|
||||
$this->add_control( 'header_text', array(
|
||||
|
||||
Reference in New Issue
Block a user