Make WordPress Core

Changeset 40933


Ignore:
Timestamp:
06/25/2017 06:55:43 AM (7 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/general-template.php

    r40837 r40933  
    124124
    125125/**
    126  * Load a template part into a template
    127  *
    128  * Makes it easy for a theme to reuse sections of code in a easy to overload way
    129  * for child themes.
     126 * Loads a template part into a template.
     127 *
     128 * Provides a simple mechanism for child themes to overload reusable sections of code
     129 * in the theme.
    130130 *
    131131 * Includes the named template part for a theme or if a name is specified then a
Note: See TracChangeset for help on using the changeset viewer.