[wp-trac] [WordPress Trac] #21977: Allow 0, NULL and empty string values for 'parent'.
WordPress Trac
wp-trac at lists.automattic.com
Sun Sep 23 18:34:04 UTC 2012
#21977: Allow 0, NULL and empty string values for 'parent'.
-------------------------+------------------
Reporter: sam2kb | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.5
Component: XML-RPC | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+------------------
Changes (by nacin):
* severity: major => normal
* milestone: Awaiting Review => 3.5
Comment:
I don't think this is major — the workaround is to simply not pass
'parent'.
But yes, switching from isset() to ! empty() makes sense.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21977#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list