WordPress.org

Make WordPress Core

Ticket #30677: 30677.diff

File 30677.diff, 869 bytes (added by westonruter, 7 years ago)

https://github.com/xwp/wordpress-develop/pull/57

  • src/wp-includes/class-wp-customize-manager.php

    diff --git src/wp-includes/class-wp-customize-manager.php src/wp-includes/class-wp-customize-manager.php
    index e8b6198..b2588ae 100644
    final class WP_Customize_Manager { 
    11841184                // #WP19627
    11851185
    11861186                $this->add_section( 'static_front_page', array(
    1187                         'title'          => __( 'Static Front Page' ),
    1188                 //      'theme_supports' => 'static-front-page',
    1189                         'priority'       => 120,
    1190                         'description'    => __( 'Your theme supports a static front page.' ),
     1187                        'title'           => __( 'Static Front Page' ),
     1188                //      'theme_supports'  => 'static-front-page',
     1189                        'priority'        => 120,
     1190                        'description'     => __( 'Your theme supports a static front page.' ),
     1191                        'active_callback' => 'is_front_page',
    11911192                ) );
    11921193
    11931194                $this->add_setting( 'show_on_front', array(