[wp-trac] Re: [WordPress Trac] #3460: Duplicated default category
after deleting a category
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 30 19:11:39 GMT 2007
#3460: Duplicated default category after deleting a category
----------------------------+-----------------------------------------------
Reporter: zhouqb | Owner: markjaquith
Type: defect | Status: assigned
Priority: normal | Milestone: 2.0.8
Component: Administration | Version: 2.0.5
Severity: normal | Resolution:
Keywords: category |
----------------------------+-----------------------------------------------
Comment (by markjaquith):
The functions used to do it in 2.1 ({{{wp_get_post_categories()}}} and
{{{wp_set_post_categories()}}} don't exist in 2.0.x
I've attached a patch that should do the equivalent in 2.0.x, but I'd like
to save it for another milestone. It's not quite ideal, because it causes
one query per post that existed in the category you're deleting.
--
Ticket URL: <http://trac.wordpress.org/ticket/3460#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list