[wp-trac] [WordPress Trac] #4115: getCategoryList should exclude
empty categories by default
WordPress Trac
wp-trac at lists.automattic.com
Sun Apr 8 20:56:28 GMT 2007
#4115: getCategoryList should exclude empty categories by default
------------------------+---------------------------------------------------
Reporter: redsweater | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.4
Component: XML-RPC | Version: 2.2
Severity: normal | Keywords:
------------------------+---------------------------------------------------
The list of categories returned by getCategoryList should exclude "empty"
categories by default, as this is how the web UI behaves. It's awkward for
desktop clients to have a list with weird category names such as
"Blogroll" that are only used in Links.
This is accomplished in xmlrpc.php by adding a " WHERE category_count > 0"
clause to the (questionable) direct SQL lookup.
Patch attached: xmlrpc.php.diff
--
Ticket URL: <http://trac.wordpress.org/ticket/4115>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list