#26924 closed defect (bug) (fixed)
Misleading hook docs for action 'print_media_templates'
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.9 | Priority: | normal |
Severity: | normal | Version: | 3.8 |
Component: | Script Loader | Keywords: | has-patch |
Focuses: | docs | Cc: |
Description
Attachments (2)
Change History (8)
#3
in reply to:
↑ 1
@
11 years ago
- Keywords needs-patch added
Replying to 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.
#4
@
11 years ago
- Component changed from Media to Script Loader
- Keywords has-patch added; needs-patch removed
- Milestone changed from Awaiting Review to 3.9
Note: See
TracTickets for help on using
tickets.
In attachment:26924.diff, be clear that this hook doesn't actually do anything; it hits after the media manager templates have been printed.