[wp-trac] [WordPress Trac] #26924: Misleading hook docs for action 'print_media_templates'
WordPress Trac
noreply at wordpress.org
Sat Jan 25 18:28:18 UTC 2014
#26924: Misleading hook docs for action 'print_media_templates'
--------------------------+------------------------------
Reporter: ericlewis | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 3.8
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: docs
--------------------------+------------------------------
Changes (by DrewAPicture):
* keywords: => needs-patch
Comment:
Replying to [comment:1 ericlewis]:
> In attachment:26924.diff, be clear that this hook doesn't actually do
anything; it hits after the media manager templates have been printed.
I agree that the terminology of "Prints" is a bit misleading, though it
has also been leveraged with other 'print_*' hooks in core. The hooks
don't ''do'' anything themselves.
Perhaps 'Fires when xxxx are printed' would be better.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26924#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list