[wp-trac] [WordPress Trac] #57745: REST API post update fails with unchanged but auth-restricted meta value

WordPress Trac noreply at wordpress.org
Fri Feb 17 15:25:24 UTC 2023


#57745: REST API post update fails with unchanged but auth-restricted meta value
--------------------------------------+------------------------------
 Reporter:  kadamwhite                |       Owner:  kadamwhite
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  REST API                  |     Version:  6.1.1
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by TimothyBlynJacobs):

 This seems like a sensible approach to me. I'm inclined to agree that we
 shouldn't be writing the default to the database. But, I don't think
 fixing this necessarily blocks #55600. We could still omit writing the
 default value to the database if the user doesn't have permission to
 update that field.

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


More information about the wp-trac mailing list