mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-18 14:21:25 +01:00
Docs: Improve description wording for get_template_part()
in regard to overloading by child themes.
Also, update the summary to use a third-person singular verb. Props ixmati. See #41017. Built from https://develop.svn.wordpress.org/trunk@40933 git-svn-id: http://core.svn.wordpress.org/trunk@40783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6146ba0b33
commit
82ed0bdd11
@ -123,10 +123,10 @@ function get_sidebar( $name = null ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Load a template part into a template
|
||||
* Loads a template part into a template.
|
||||
*
|
||||
* Makes it easy for a theme to reuse sections of code in a easy to overload way
|
||||
* for child themes.
|
||||
* Provides a simple mechanism for child themes to overload reusable sections of code
|
||||
* in the theme.
|
||||
*
|
||||
* Includes the named template part for a theme or if a name is specified then a
|
||||
* specialised part will be included. If the theme contains no {slug}.php file
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.9-alpha-40932';
|
||||
$wp_version = '4.9-alpha-40933';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user