[wp-trac] [WordPress Trac] #39371: Fix DocBlocks for duplicate hooks
WordPress Trac
noreply at wordpress.org
Thu Dec 22 16:18:59 UTC 2016
#39371: Fix DocBlocks for duplicate hooks
--------------------------+-----------------------------
Reporter: keesiemeijer | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: docs |
--------------------------+-----------------------------
DocBlocks should start with `/**` to be recognized as a DocBlock by the
[https://github.com/WordPress/phpdoc-parser phpdoc-parser]. Duplicate
undocumented hooks are imported if normal comments (/* */) are used.
These hooks don't have a correct DocBlock.
* `load-widgets.php`
* `widgets.php`
* `sidebar_admin_setup`
* `comment_email`
* `session_token_manager`
* `rest_insert_attachment`
* `rest_insert_comment`
* `rest_insert_{$this->post_type}`
* `rest_insert_{$this->taxonomy}`
* `rest_insert_user`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39371>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list