[wp-trac] [WordPress Trac] #39371: Fix DocBlocks for duplicate hooks

WordPress Trac noreply at wordpress.org
Fri Dec 23 14:06:13 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                    |  Resolution:
 Keywords:  has-patch needs-handbook  |     Focuses:  docs
--------------------------------------+------------------------------

Comment (by keesiemeijer):

 I just found out the hooks are in fact, not imported when a DocBlock isn't
 found by the parser. But we should adhere to the DocBlock syntax `/**`
 where possible.

 There is a [https://make.wordpress.org/core/handbook/best-practices
 /inline-documentation-standards/php/#5-2-multi-line-comments note for
 multi-line comments] in the handbook documenting this.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39371#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list