[wp-trac] [WordPress Trac] #43559: wp_ajax_add_meta() does not allow empty values

WordPress Trac noreply at wordpress.org
Tue Oct 23 18:55:48 UTC 2018

#43559: wp_ajax_add_meta() does not allow empty values
 Reporter:  charlestonsw              |       Owner:  SergeyBiryukov
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  5.0
Component:  Options, Meta APIs        |     Version:  trunk
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-unit-tests has-patch  |     Focuses:  rest-api
Changes (by danielbachhuber):

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


 In [changeset:"43811" 43811]:
 #!CommitTicketReference repository="" revision="43811"
 Meta: Allow empty strings to be set by Custom Fields meta box.

 Because the REST API allows meta keys to have empty values, the Custom
 Fields meta box should permit the same behavior.

 Props charlestonsw, soulseekah.
 Fixes #43559.

Ticket URL: <https://core.trac.wordpress.org/ticket/43559#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list