From a74e98d7be4ef1cac36e08092a54aa53f27c9e51 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Sun, 10 Sep 2017 16:20:44 +0000 Subject: [PATCH] Customize: Rename "Static front page" to just "Homepage". Props danieltj, melchoyce. Fixes #41828. Built from https://develop.svn.wordpress.org/trunk@41363 git-svn-id: http://core.svn.wordpress.org/trunk@41196 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/file.php | 2 +- wp-admin/options-reading.php | 8 ++++---- wp-includes/class-wp-customize-manager.php | 8 ++++---- wp-includes/version.php | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php index 595b2857b5..e75dc9b332 100644 --- a/wp-admin/includes/file.php +++ b/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/wp-admin/options-reading.php b/wp-admin/options-reading.php index baa9f7555a..d673066159 100644 --- a/wp-admin/options-reading.php +++ b/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/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php index e45efdaa11..625d539847 100644 --- a/wp-includes/class-wp-customize-manager.php +++ b/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, diff --git a/wp-includes/version.php b/wp-includes/version.php index 854711f1f1..bc0796ec6b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-41362'; +$wp_version = '4.9-alpha-41363'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.