[wp-trac] Re: [WordPress Trac] #4189: Taxonomy Schema and API
WordPress Trac
wp-trac at lists.automattic.com
Tue May 22 20:42:35 GMT 2007
#4189: Taxonomy Schema and API
-------------------------------------------+--------------------------------
Reporter: ryan | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.3
Component: General | Version: 2.2
Severity: normal | Resolution:
Keywords: term taxonomy tags categories |
-------------------------------------------+--------------------------------
Comment (by ryan):
I got rid of REPLACE INTO because it was changing the term's ID each time.
One of the INSERT SELECTs was giving me trouble so I changed the code to
do a one at a time queries. Then I realized the primary key on
term_relationships was the problem. I left my changed code in, but we
could probably convert back to the INSERT SELECT to save queries. Anyhow,
settting/getting post tags is working now.
--
Ticket URL: <http://trac.wordpress.org/ticket/4189#comment:23>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list