#30558 closed defect (bug) (fixed)
Inline Docs: Fix mismatched hook docs
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| 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_classenter_title_here- `manage_link_custom_column
- `manage_media_custom_column
the_title_rssadmin_xml_nsuser_edit_form_tagadmin_color_scheme_pickeruser_new_form_tagrss_update_periodrss_update_frequencycomment_form
Attachments (3)
Change History (7)
Note: See
TracTickets for help on using
tickets.
feedback from @wonderboymusic