diff --git a/src/wp-includes/class-wp-customize-manager.php b/src/wp-includes/class-wp-customize-manager.php
index 8d78bdd..47d58e9 100644
|
a
|
b
|
final class WP_Customize_Manager { |
| 1442 | 1442 | |
| 1443 | 1443 | // Replicate behavior from options-reading.php and hide front page options if there are no pages |
| 1444 | 1444 | if ( get_pages() ) { |
| 1445 | | $this->add_section( 'static_front_page', array( |
| 1446 | | 'title' => __( 'Static Front Page' ), |
| | 1445 | $this->add_section( 'front_page', array( |
| | 1446 | 'title' => __( 'Front Page' ), |
| 1447 | 1447 | // 'theme_supports' => 'static-front-page', |
| 1448 | 1448 | 'priority' => 120, |
| 1449 | 1449 | 'description' => __( 'Your theme supports a static front page.' ), |
| … |
… |
final class WP_Customize_Manager { |
| 1458 | 1458 | |
| 1459 | 1459 | $this->add_control( 'show_on_front', array( |
| 1460 | 1460 | 'label' => __( 'Front page displays' ), |
| 1461 | | 'section' => 'static_front_page', |
| | 1461 | 'section' => 'front_page', |
| 1462 | 1462 | 'type' => 'radio', |
| 1463 | 1463 | 'choices' => array( |
| 1464 | 1464 | 'posts' => __( 'Your latest posts' ), |
| … |
… |
final class WP_Customize_Manager { |
| 1474 | 1474 | |
| 1475 | 1475 | $this->add_control( 'page_on_front', array( |
| 1476 | 1476 | 'label' => __( 'Front page' ), |
| 1477 | | 'section' => 'static_front_page', |
| | 1477 | 'section' => 'front_page', |
| 1478 | 1478 | 'type' => 'dropdown-pages', |
| 1479 | 1479 | ) ); |
| 1480 | 1480 | |
| … |
… |
final class WP_Customize_Manager { |
| 1486 | 1486 | |
| 1487 | 1487 | $this->add_control( 'page_for_posts', array( |
| 1488 | 1488 | 'label' => __( 'Posts page' ), |
| 1489 | | 'section' => 'static_front_page', |
| | 1489 | 'section' => 'front_page', |
| 1490 | 1490 | 'type' => 'dropdown-pages', |
| 1491 | 1491 | ) ); |
| 1492 | 1492 | } |