[wp-trac] [WordPress Trac] #38686: Incorrect fallback value for label_count when registering a custom post status
WordPress Trac
noreply at wordpress.org
Wed Dec 28 10:01:43 UTC 2016
#38686: Incorrect fallback value for label_count when registering a custom post
status
-------------------------------------------------+-------------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.8
Component: Posts, Post Types | Version:
Severity: normal | Resolution:
Keywords: good-first-bug has-patch has-unit- | Focuses:
tests | administration
-------------------------------------------------+-------------------------
Changes (by ocean90):
* keywords: good-first-bug has-patch => good-first-bug has-patch has-unit-
tests
Comment:
Technically, `_n_noop()` would be used incorrectly here because only
literal strings should be passed to gettext functions, as noted by @dd32
in #39412, but in this case it should be fine. We do this already in
`wp_generate_tag_cloud()` as a fallback "for the old-style single_text and
multiple_text arguments.".
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38686#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list