[wp-trac] [WordPress Trac] #17209: Category list table breaks when custom post type label is too long
WordPress Trac
noreply at wordpress.org
Thu Jun 5 17:47:18 UTC 2014
#17209: Category list table breaks when custom post type label is too long
-------------------------------------------------+-------------------------
Reporter: andrewryno | Owner: helen
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.0
Component: Taxonomy | Version: 3.1
Severity: normal | Resolution:
Keywords: good-first-bug has-patch needs- | Focuses:
testing | administration
-------------------------------------------------+-------------------------
Comment (by SergeyBiryukov):
I'm not a fan of conditionally changing the label here.
`strlen()` is not an accurate check for UTF-8 strings, and it looks like
'Count' is more correct (per comment:14), so I'd suggest removing the
check and using 'Count' instead of the post type label.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/17209#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list