From c07ea0e75777a2ce94c3f2cc9d26023b661427f2 Mon Sep 17 00:00:00 2001 From: koopersmith Date: Sat, 7 Apr 2012 00:18:02 +0000 Subject: [PATCH] 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 --- wp-includes/class-wp-customize.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/wp-includes/class-wp-customize.php b/wp-includes/class-wp-customize.php index d561d293b..8c9fde31b 100644 --- a/wp-includes/class-wp-customize.php +++ b/wp-includes/class-wp-customize.php @@ -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(