mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Theme Customizer: String change to clarify choosing a static page (remove 'select below'). see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3230ba3987
commit
c07ea0e757
@ -732,10 +732,6 @@ final class WP_Customize {
|
||||
'description' => __( 'Your theme supports a static front page.' ),
|
||||
) );
|
||||
|
||||
$choices = array();
|
||||
$choices['posts'] = __( 'Your latest posts' );
|
||||
$choices['page'] = __( 'A static page (select below)' );
|
||||
|
||||
$this->add_setting( 'show_on_front', array(
|
||||
'default' => get_option( 'show_on_front' ),
|
||||
'capability' => 'manage_options',
|
||||
@ -747,7 +743,10 @@ final class WP_Customize {
|
||||
'label' => __( 'Front page displays' ),
|
||||
'section' => 'static_front_page',
|
||||
'type' => 'radio',
|
||||
'choices' => $choices,
|
||||
'choices' => array(
|
||||
'posts' => __( 'Your latest posts' ),
|
||||
'page' => __( 'A static page' ),
|
||||
),
|
||||
) );
|
||||
|
||||
$this->add_setting( 'page_on_front', array(
|
||||
|
Loading…
Reference in New Issue
Block a user