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

WordPress Trac noreply at wordpress.org
Fri Dec 14 03:17:00 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-patch has-unit-tests fixed-5.0  |     Focuses:  rest-api
------------------------------------------------+--------------------------
Changes (by desrosj):

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


Comment:

 In [changeset:"44153" 44153]:
 {{{
 #!CommitTicketReference repository="" revision="44153"
 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, danielbachhuber.

 Merges [43811] to trunk.

 Fixes #43559.
 }}}

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


More information about the wp-trac mailing list