[wp-trac] [WordPress Trac] #30552: Inline Docs: Fix core DocBlock formatting and cross referencing
WordPress Trac
noreply at wordpress.org
Sun Nov 30 11:42:02 UTC 2014
#30552: Inline Docs: Fix core DocBlock formatting and cross referencing
--------------------------+-----------------------------
Reporter: DrewAPicture | Owner: DrewAPicture
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: Future Release
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: docs
--------------------------+-----------------------------
Comment (by DrewAPicture):
In [changeset:"30649"]:
{{{
#!CommitTicketReference repository="" revision="30649"
Docs Formatting: Backtick-escape inline code for all dynamic hook docs in
wp-admin/*.
Also includes some changes to move hook docs to directly precede hook
lines. This is necessary to prevent DocBlock-matching confusion when core
is parsed.
Affects DocBlocks for the following hooks:
* `wp_ajax_ . $_REQUEST['action']`
* `wp_ajax_nopriv_ . $_REQUEST['action']`
* `admin_footer- . $GLOBALS['hook_suffix']`
* `admin_head-$hook_suffix`
* `admin_post_nopriv_{$action}`
* `admin_post_{$action}`
* `load- . $page_hook`
* `load- . $plugin_page`
* `load-importer- . $importer`
* `load- . $pagenow`
* `admin_action_ . $_REQUEST['action']`
* `async_upload_{$type}`
* `add_meta_boxes_ . $post_type`
* `{$taxonomy}_pre_edit_form`
* `{$taxonomy}_term_edit_form_tag`
* `{$taxonomy}_edit_form_fields`
* `{$taxonomy}_edit_form`
* `after-{$taxonomy}-table`
* `{$taxonomy}_pre_add_form`
* `{$taxonomy}_term_new_form_tag`
* `{$taxonomy}_add_form_fields`
* `{$taxonomy}_add_form`
* `media_upload_$type`
* `media_upload_$tab`
* `install_plugins_pre_$tab`
* `install_plugins_$tab`
* `install_themes_pre_{$tab}`
* `install_themes_{$tab}`
* `update-core-custom_{$action}`
* `update-custom_{$action}`
* `user_{$name}_label`
See #30552.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30552#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list