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
This commit is contained in:
Weston Ruter 2017-09-10 17:07:50 +00:00
parent d0dbcf5913
commit 7aa34b77e9
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ $wp_file_descriptions = array(
'singular.php' => __( 'Singular Template' ), 'singular.php' => __( 'Singular Template' ),
'single.php' => __( 'Single Post' ), 'single.php' => __( 'Single Post' ),
'page.php' => __( 'Single Page' ), 'page.php' => __( 'Single Page' ),
'front-page.php' => __( 'Static Homepage' ), 'front-page.php' => __( 'Homepage' ),
// Attachments // Attachments
'attachment.php' => __( 'Attachment Template' ), 'attachment.php' => __( 'Attachment Template' ),
'image.php' => __( 'Image Attachment Template' ), 'image.php' => __( 'Image Attachment Template' ),

View File

@ -4114,7 +4114,7 @@ final class WP_Customize_Manager {
$this->add_section( 'static_front_page', array( $this->add_section( 'static_front_page', array(
'title' => __( 'Homepage Settings' ), 'title' => __( 'Homepage Settings' ),
'priority' => 120, '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' ), 'active_callback' => array( $this, 'has_published_pages' ),
) ); ) );