From 7aa34b77e9dd7460b17a3b9c77da62cb02eb3b37 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Sun, 10 Sep 2017 17:07:50 +0000 Subject: [PATCH] Customize: Re-use homepage settings help tab text from Reading Options admin screen in description for corresponding Customizer section. Also remove "Static" reference in template name, missed in [41363]. See #41829. git-svn-id: https://develop.svn.wordpress.org/trunk@41364 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/file.php | 2 +- src/wp-includes/class-wp-customize-manager.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/file.php b/src/wp-admin/includes/file.php index e75dc9b332..f81444e0dd 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 Homepage' ), + 'front-page.php' => __( 'Homepage' ), // Attachments 'attachment.php' => __( 'Attachment Template' ), 'image.php' => __( 'Image Attachment Template' ), diff --git a/src/wp-includes/class-wp-customize-manager.php b/src/wp-includes/class-wp-customize-manager.php index 625d539847..31d9d355d3 100644 --- a/src/wp-includes/class-wp-customize-manager.php +++ b/src/wp-includes/class-wp-customize-manager.php @@ -4114,7 +4114,7 @@ final class WP_Customize_Manager { $this->add_section( 'static_front_page', array( 'title' => __( 'Homepage Settings' ), 'priority' => 120, - 'description' => __( 'Your theme supports a static homepage.' ), + 'description' => __( '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.' ), 'active_callback' => array( $this, 'has_published_pages' ), ) );