[wp-trac] [WordPress Trac] #32246: Fix a variety of phpDoc issues

WordPress Trac noreply at wordpress.org
Tue Jul 14 22:26:34 UTC 2015


#32246: Fix a variety of phpDoc issues
----------------------------+-----------------------------
 Reporter:  DrewAPicture    |       Owner:  DrewAPicture
     Type:  task (blessed)  |      Status:  accepted
 Priority:  low             |   Milestone:  Future Release
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  docs
----------------------------+-----------------------------

Comment (by DrewAPicture):

 In [changeset:"33274"]:
 {{{
 #!CommitTicketReference repository="" revision="33274"
 Docs: Update the DocBlock descriptions for a variety of template functions
 to better reflect that the dynamic `$type_template` hook can be used to
 filter the template path.

 It's important to reference the actual dynamic hook name instead of an
 alias for purposes of auto-linking in the Code Reference.

 Affects the docs for:
 * `get_index_template()`
 * `get_404_template()`
 * `get_archive_template()`
 * `get_post_type_archive_template()`
 * `get_author_template()`
 * `get_category_template()`
 * `get_tag_template()`
 * `get_taxonomy_template()`
 * `get_date_template()`
 * `get_home_template()`
 * `get_page_template()`
 * `get_paged_template()`
 * `get_search_template()`
 * `get_single_template()`
 * `get_singular_template()`
 * `get_attachment_template()`

 See #32246.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32246#comment:56>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list