[wp-trac] [WordPress Trac] #7000: On Write Post screen,
Checked Categories should be on top of the list
WordPress Trac
wp-trac at lists.automattic.com
Mon May 19 21:17:15 GMT 2008
#7000: On Write Post screen, Checked Categories should be on top of the list
----------------------------+-----------------------------------------------
Reporter: mdawaffe | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.6
Component: Administration | Version: 2.5.1
Severity: normal | Keywords: has-patch needs-testing
----------------------------+-----------------------------------------------
In WP 2.3, a post's current categories were listed at the top of the
categories list for easy identification.
Since the move to the Walker class, that is no longer true.
Attached
1. Uses the Walker twice to put checked categories first.
2. Does not change the DB queries. It post-processes the old ones. We
could only query for categories that are/aren't checked for that post, but
the post-processing method means that the query is the same for all posts.
Good for query/object caching.
3. Passes {{{$popular_categories}}} to {{{wp_category_checklist()}}} to
save a query, reduce inconsistencies.
4. Tweaks JS/AJAX.
2.5.2?
--
Ticket URL: <http://trac.wordpress.org/ticket/7000>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list