From f26e53d4d97e7edc9ce37aca3972cd79e10a6607 Mon Sep 17 00:00:00 2001 From: Daryl 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: https://develop.svn.wordpress.org/trunk@20392 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 d561d293bd..8c9fde31b5 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(