[wp-trac] [WordPress Trac] #48426: Can't update meta via the REST API if an identical value for a field you don't have permission to update is included

WordPress Trac noreply at wordpress.org
Mon Oct 26 21:36:10 UTC 2020


#48426: Can't update meta via the REST API if an identical value for a field you
don't have permission to update is included
--------------------------------+-----------------------------
 Reporter:  johnstonphilip      |       Owner:  (none)
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Future Release
Component:  Options, Meta APIs  |     Version:  4.7
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:  rest-api
--------------------------------+-----------------------------

Comment (by TimothyBlynJacobs):

 @johnstonphilip Try using the
 `WP_REST_Meta_Fields::is_meta_value_same_as_stored_value` method.

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


More information about the wp-trac mailing list