[wp-trac] [WordPress Trac] #11650: Unable to create empty value for postmeta
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 30 08:09:00 UTC 2009
#11650: Unable to create empty value for postmeta
----------------------------+-----------------------------------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Administration | Version: 2.9
Severity: normal | Keywords: has-patch
----------------------------+-----------------------------------------------
Changes (by dd32):
* keywords: needs-patch => has-patch
Comment:
> attachment 11650.dif added
* Adds a Error if you attempt to update meta to a empty value.
* non-empty string is fine
* 0 is fine
* Zero length string is not
* Nor is a whitespace-only string (Meta refuses to add it, which is the
reason for the trim())
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11650#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list