#30558 closed defect (bug) (fixed)
Inline Docs: Fix mismatched hook docs
Reported by: | DrewAPicture | Owned by: | johnbillion |
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | has-patch commit |
Focuses: | docs | Cc: |
Description
Background: Since phpDocumentor does not support parsing hook docs out of the box, the rule of thumb is that any DocBlock accompanying a hook must directly precede it with nothing in between. For some time now there have been several "problem hooks" showing incorrect docs in the Code Reference.
For example, the docs being displayed for user_new_form_tag actually match the next hook in the file, user_new_form.
Attached patch addresses the problem for the following hooks:
admin_post_class
enter_title_here
- `manage_link_custom_column
- `manage_media_custom_column
the_title_rss
admin_xml_ns
user_edit_form_tag
admin_color_scheme_picker
user_new_form_tag
rss_update_period
rss_update_frequency
comment_form
Attachments (3)
Change History (7)
Note: See
TracTickets for help on using
tickets.
feedback from @wonderboymusic