Changes between Initial Version and Version 1 of Ticket #2707
- Timestamp:
- 04/09/2017 09:29:36 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2707 – Description
initial v1 1 The `@return` entry for `get_author_badge()` and `get_moderator_badge()`says:1 The `@return` entry for `get_author_badge()` says: 2 2 {{{ 3 Associative array with keys 'type', 'slug', and 'user_ login'3 Associative array with keys 'type', 'slug', and 'user_nicename' if author merits a badge, else null. 4 4 }}} 5 However, the actual keys returned are `type`, `label`, and `help`. 5 Same for `get_moderator_badge()`: 6 {{{ 7 Associative array with keys 'type', 'slug', and 'user_login' if author merits a badge, else false. 8 }}} 9 However, the actual keys returned in both cases are `type`, `label`, and `help`. Additionally, `get_author_badge()` return false on error, not null. 6 10 7 11 Appears to be a copy/paste error in [4269].