mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
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. Built from https://develop.svn.wordpress.org/trunk@41364 git-svn-id: http://core.svn.wordpress.org/trunk@41197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a74e98d7be
commit
203d220c6f
@ -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' ),
|
||||||
|
@ -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' ),
|
||||||
) );
|
) );
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.9-alpha-41363';
|
$wp_version = '4.9-alpha-41364';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user