From 2a6d8167399c185fda8539c27ebcb7d0ff809410 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 25 Jun 2017 06:55:43 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@40933 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/general-template.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index 0076df7bef..981b613e35 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -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