[wp-trac] [WordPress Trac] #25791: Add a nesting level class to <tr> elements in #the-list
WordPress Trac
noreply at wordpress.org
Thu Oct 31 17:45:01 UTC 2013
#25791: Add a nesting level class to <tr> elements in #the-list
----------------------------+-------------------------------------
Reporter: jhned | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: trunk
Severity: minor | Keywords: needs-testing has-patch
----------------------------+-------------------------------------
In the admin, there's a big table (#the-list) for the list of pages. The
WordPress admin file class-wp-posts-list-table.php currently adds a bunch
of classes to the individual table rows for each page. What it '''does
not''' add is a class for the page's nesting level.
I'd like to add one because scrolling through 100+ pages is tedious, and
being able to style the different levels can be very helpful for seeing
where you are at a glance.
I'm attaching a piece of code for line 494 of /wp-admin/includes/class-wp-
posts-list-table.php that will add this functionality. I have tested it on
the latest version of WordPress, but I'd imagine that it will require
further testing if it is to be included in the core.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25791>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list