[wp-trac] [WordPress Trac] #23378: wp_(insert|update)_term() should accept term slug as 'parent' argument
WordPress Trac
noreply at wordpress.org
Sat Feb 9 23:05:32 UTC 2013
#23378: wp_(insert|update)_term() should accept term slug as 'parent' argument
-----------------------------+------------------------------
Reporter: danielbachhuber | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-----------------------------+------------------------------
Comment (by danielbachhuber):
We discussed this at dinner the other night and realized where it would
break is when the term name (and slug) is an ID.
If this enhancement was of general interest, it would probably be better
to go with a new `parent_slug` argument or similar.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23378#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list