From d0dbcf591319d034f6baa0093663e9246b4a954d Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Sun, 10 Sep 2017 16:19:53 +0000 Subject: [PATCH] Customize: Rename "Static front page" to just "Homepage". Props danieltj, melchoyce. Fixes #41828. git-svn-id: https://develop.svn.wordpress.org/trunk@41363 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/file.php | 2 +- src/wp-admin/options-reading.php | 8 ++++---- src/wp-includes/class-wp-customize-manager.php | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/wp-admin/includes/file.php b/src/wp-admin/includes/file.php index 595b2857b5..e75dc9b332 100644 --- a/src/wp-admin/includes/file.php +++ b/src/wp-admin/includes/file.php @@ -35,7 +35,7 @@ $wp_file_descriptions = array( 'singular.php' => __( 'Singular Template' ), 'single.php' => __( 'Single Post' ), 'page.php' => __( 'Single Page' ), - 'front-page.php' => __( 'Static Front Page' ), + 'front-page.php' => __( 'Static Homepage' ), // Attachments 'attachment.php' => __( 'Attachment Template' ), 'image.php' => __( 'Image Attachment Template' ), diff --git a/src/wp-admin/options-reading.php b/src/wp-admin/options-reading.php index baa9f7555a..d673066159 100644 --- a/src/wp-admin/options-reading.php +++ b/src/wp-admin/options-reading.php @@ -21,7 +21,7 @@ get_current_screen()->add_help_tab( array( 'id' => 'overview', 'title' => __('Overview'), 'content' => '

' . __('This screen contains the settings that affect the display of your content.') . '

' . - '

' . sprintf(__('You can choose what’s displayed on the front page of your site. It can be posts in reverse chronological order (classic blog), or a fixed/static page. To set a static home page, you first need to create two Pages. One will become the front page, and the other will be where your posts are displayed.'), 'post-new.php?post_type=page') . '

' . + '

' . sprintf(__('You can choose what’s displayed on the homepage of your site. It can be posts in reverse chronological order (classic blog), or a fixed/static page. To set a static homepage, you first need to create two Pages. One will become the homepage, and the other will be where your posts are displayed.'), 'post-new.php?post_type=page') . '

' . '

' . __('You can also control the display of your content in RSS feeds, including the maximum number of posts to display and whether to show full text or a summary.') . '

' . '

' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '

', ) ); @@ -67,8 +67,8 @@ else : ?> - - +
+

    -
  • +
diff --git a/src/wp-includes/class-wp-customize-manager.php b/src/wp-includes/class-wp-customize-manager.php index e45efdaa11..625d539847 100644 --- a/src/wp-includes/class-wp-customize-manager.php +++ b/src/wp-includes/class-wp-customize-manager.php @@ -4112,9 +4112,9 @@ final class WP_Customize_Manager { */ $this->add_section( 'static_front_page', array( - 'title' => __( 'Static Front Page' ), + 'title' => __( 'Homepage Settings' ), 'priority' => 120, - 'description' => __( 'Your theme supports a static front page.' ), + 'description' => __( 'Your theme supports a static homepage.' ), 'active_callback' => array( $this, 'has_published_pages' ), ) ); @@ -4125,7 +4125,7 @@ final class WP_Customize_Manager { ) ); $this->add_control( 'show_on_front', array( - 'label' => __( 'Front page displays' ), + 'label' => __( 'Your homepage displays' ), 'section' => 'static_front_page', 'type' => 'radio', 'choices' => array( @@ -4140,7 +4140,7 @@ final class WP_Customize_Manager { ) ); $this->add_control( 'page_on_front', array( - 'label' => __( 'Front page' ), + 'label' => __( 'Homepage' ), 'section' => 'static_front_page', 'type' => 'dropdown-pages', 'allow_addition' => true,