[wp-trac] [WordPress Trac] #21977: Allow 0, NULL and empty string values for 'parent'.

WordPress Trac noreply at wordpress.org
Sat Sep 26 05:30:36 UTC 2015


#21977: Allow 0, NULL and empty string values for 'parent'.
--------------------------+-----------------------------
 Reporter:  sam2kb        |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.4
Component:  XML-RPC       |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by wonderboymusic):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34580"]:
 {{{
 #!CommitTicketReference repository="" revision="34580"
 XML-RPC: in `wp_xmlrpc_server::wp_editTerm()`, check `! empty` when
 applying `parent` logic.

 Adds unit tests.

 Props hrishiv90, markoheijnen, sam2kb.
 Fixes #21977.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/21977#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list