[wp-trac] [WordPress Trac] #42855: Add ability to filter header, sidebar, searchform, footer and template_part file paths
WordPress Trac
noreply at wordpress.org
Tue Feb 27 23:55:54 UTC 2018
#42855: Add ability to filter header, sidebar, searchform, footer and template_part
file paths
------------------------------+------------------------------
Reporter: atanasangelovdev | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: template
------------------------------+------------------------------
Comment (by MikeSchinkel):
Replying to [comment:8 joyously]:
> I can see your 4th point (perhaps), as a filter, but the others are not.
Why can you not see the need to make the output of a theme valid AMP? Why
not for JSON? Why not for Unit Testing?
> They would be better done as action hooks, which already exist for these
functions.
"pre" hooks exist, but "post" hook do not. So would you support adding
post hooks to these functions?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42855#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list