Opened 7 years ago
Closed 7 years ago
#41198 closed defect (bug) (fixed)
Reference dynamic hooks in doc blocks, e.g. archive_template -> {$type}_template
Reported by: | donutz | Owned by: | DrewAPicture |
---|---|---|---|
Milestone: | 4.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | docs | Cc: |
Description
404 errors for in developer docs for archive_template
and archive_template_hierarchy
hooks:
https://core.trac.wordpress.org/browser/tags/4.8/src/wp-includes/template.php#L135
https://developer.wordpress.org/reference/functions/get_post_type_archive_template/
https://developer.wordpress.org/reference/hooks/archive_template/
https://developer.wordpress.org/reference/hooks/archive_template_hierarchy/
Slack: https://wordpress.slack.com/archives/C02RP4WU5/p1498718067706904
Change History (7)
Note: See
TracTickets for help on using
tickets.
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.