[wp-trac] [WordPress Trac] #25852: Saving term broken. If no term parent is set - sets to term ID 1.
WordPress Trac
noreply at wordpress.org
Wed Nov 6 23:40:47 UTC 2013
#25852: Saving term broken. If no term parent is set - sets to term ID 1.
--------------------------+-----------------------------
Reporter: mattheu | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.8
Component: Taxonomy | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch |
--------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"26028"]:
{{{
#!CommitTicketReference repository="" revision="26028"
A negative term parent value should be sanitized to 0, not 1. Fix a
regression in sanitize_term_field() caused by [26010].
props mattheu for initial patch.
fixes #25852.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25852#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list