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

WordPress Trac noreply at wordpress.org
Sat Mar 17 17:59:38 UTC 2018


#43559: wp_ajax_add_meta() does not allow empty values
--------------------------------------+------------------------------
 Reporter:  charlestonsw              |       Owner:
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Options, Meta APIs        |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-unit-tests has-patch  |     Focuses:  rest-api
--------------------------------------+------------------------------

Comment (by charlestonsw):

 REST is just one example use case.

 The primary issue is not being able to save empty values on custom fields.

 There are hundreds of use cases where empty values on custom fields would
 be desirable.   A reactive app built on top of the standard WP REST API is
 one of many.   I don't think I tagged this originally as a rest-api issue
 as that was not the primary issue being reported.

 As for the current version of WordPress allowing empty meta values -- that
 may be the theory but that is not how the WordPress admin interfaces are
 working for pages/posts today (production or 5.0-alpha builds).

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


More information about the wp-trac mailing list