[wp-trac] [WordPress Trac] #21977: Allow 0, NULL and empty string values for 'parent'.
WordPress Trac
noreply at wordpress.org
Wed Jan 29 09:02:21 UTC 2014
#21977: Allow 0, NULL and empty string values for 'parent'.
-------------------------------------------------+-------------------------
Reporter: sam2kb | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future
Component: XML-RPC | Release
Severity: normal | Version:
Keywords: has-patch dev-feedback 2nd-opinion | Resolution:
needs-testing | Focuses:
-------------------------------------------------+-------------------------
Changes (by hrishiv90):
* keywords: has-patch dev-feedback 2nd-opinion => has-patch dev-feedback
2nd-opinion needs-testing
Comment:
I have added modified patch solution which allows to reset the term parent
to 0 (i.e no-parent), and also handles properly the null and empty values
for parent.
https://core.trac.wordpress.org/attachment/ticket/21977/ticket.21977.2ndopnion.diff
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21977#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list