#30558 closed defect (bug) (fixed)
Inline Docs: Fix mismatched hook docs
| Reported by: | DrewAPicture | Owned by: | johnbillion |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.1 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | docs |
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)
This ticket was mentioned in Slack in #core by drew. View the logs.
12 years ago
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
feedback from @wonderboymusic