[wp-trac] [WordPress Trac] #41198: Reference dynamic hooks in doc blocks, e.g. archive_template -> {$type}_template

WordPress Trac noreply at wordpress.org
Thu Jun 29 15:46:31 UTC 2017


#41198: Reference dynamic hooks in doc blocks, e.g. archive_template ->
{$type}_template
--------------------------+-------------------
 Reporter:  donutz        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.9
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  docs
--------------------------+-------------------

Comment (by DrewAPicture):

 In [changeset:"40963"]:
 {{{
 #!CommitTicketReference repository="" revision="40963"
 Docs: Don't reference non-existent hooks inline in the DocBlock
 description for `get_archive_template()`.

 Also removes extra curly braces from the dynamic hook references added in
 [40962] to aid future re-parsing.

 See #41198.
 }}}

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


More information about the wp-trac mailing list