[wp-meta] [Making WordPress.org] #2707: Forums: Incorrect docs in User Badges plugin

Making WordPress.org noreply at wordpress.org
Sun Apr 9 09:24:48 UTC 2017


#2707: Forums: Incorrect docs in User Badges plugin
----------------------------+------------------------------
 Reporter:  SergeyBiryukov  |      Owner:
     Type:  defect          |     Status:  new
 Priority:  normal          |  Milestone:
Component:  Support Forums  |   Keywords:  has-patch commit
----------------------------+------------------------------
 The `@return` entry for `get_author_badge()` and `get_moderator_badge()`
 says:
 {{{
 Associative array with keys 'type', 'slug', and 'user_login'
 }}}
 However, the actual keys returned are `type`, `label`, and `help`.

 Appears to be a copy/paste error in [4269].

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2707>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list