[wp-trac] [WordPress Trac] #29614: wp_update_term() shouldn't allow a term to be assigned to a missing parent
WordPress Trac
noreply at wordpress.org
Thu Sep 11 19:12:36 UTC 2014
#29614: wp_update_term() shouldn't allow a term to be assigned to a missing parent
------------------------------------------+------------------
Reporter: danielbachhuber | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.1
Component: Taxonomy | Version:
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+------------------
Comment (by jesin):
Patch [attachment:29614.diff] includes a unit test that uses
`wp_update_term()`. Does `$this->factory->category->create()` have a
replacement for **update**?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29614#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list