[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:25: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:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  docs
--------------------------+------------------------------
Changes (by DrewAPicture):

 * focuses:   => docs
 * type:  enhancement => defect (bug)


Comment:

 You're correct that these hooks are permutations of dynamic hooks, but
 they actually shouldn't be getting parsed in the first place – which is a
 bug – rather, they should be marked as duplicates of the dynamic hooks.

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


More information about the wp-trac mailing list