[wp-trac] [WordPress Trac] #17209: Category list table breaks when custom post type label is too long

WordPress Trac noreply at wordpress.org
Mon Apr 28 19:51:03 UTC 2014


#17209: Category list table breaks when custom post type label is too long
--------------------------------------+-----------------------------
 Reporter:  andrewryno                |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  4.0
Component:  Taxonomy                  |     Version:  3.1
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:  administration
--------------------------------------+-----------------------------

Comment (by seanchayes):

 Functionally the patch (`17209b.diff`) does what it sets out to do.

 I created my custom post type and associated a taxonomy. While on the
 taxonomy edit screen (`edit-tags.php`) the number sign appeared when my
 custom post type `name` was longer than 5 characters. When I adjusted the
 length of the name it below 5 characters it displayed the name.

 Talking to the point of andrewryno, cosmetically, the last column now
 looks a little out of horizontal alignment (see image) - the content
 alignment for the last column could perhaps be improved for a more
 consistent layout on that `edit-tags.php` screen. (perhaps a suggestion
 might be that `.column-posts` could be `text-align:left;`)

 I did revert the patch and saw that when the slug name is used to title
 the column this alignment issue seemed to be less prevalent.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/17209#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list