[wp-meta] [Making WordPress.org] #2339: Don't show the function signature for filters with missing DocBlocks.

Making WordPress.org noreply at wordpress.org
Thu Dec 22 21:57:09 UTC 2016


#2339: Don't show the function signature for filters with missing DocBlocks.
---------------------------+----------------------
 Reporter:  keesiemeijer   |       Owner:
     Type:  defect         |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  Developer Hub  |  Resolution:  invalid
 Keywords:                 |
---------------------------+----------------------
Changes (by coffee2code):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Thanks for pointing out these hooks! In their cases, they were vestiges of
 previous parsings before the parser ignored duplicate hooks. The primary
 instance of each hook includes their full documentation. As you noted,
 duplicate instances of hooks lack documentation, which is why we now
 ignore them during parsing.

 I've trashed the duplicate hooks you mentioned, but there are more we
 haven't cleaned up yet (see #1085).

 For your first link (for `_WP_Editors::get_translation()`) the lack of a
 docblock doesn't appear to impact the function signature or arguments
 display. (Though its DevHub page should indicate it is a private
 function... I'll investigate.)

 Feel free to reopen if you still see an issue here.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2339#comment:3>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list