[wp-hackers] Compose Screen

Firas D. fd at firasd.org
Fri Jun 24 14:50:37 GMT 2005


Scott Merrill wrote:

>What if I want to add a new category for this post, but _also_ assign it
>to an existing category?
>
>Can your new form be AJAX-ified so we could make a new category for
>immediate insertion into the list without clobbering any post data?
>  
>
Hm, I don't see the problem. You pick up the two $_post variables that 
define the new category and its parent, make the new category, then pick 
up the ids of the other selected categories, add the new category's id 
to that list, and assign the categories to the post.

-- 
http://firasd.org



More information about the wp-hackers mailing list