[wp-trac] [WordPress Trac] #37226: Main Publish/Update button is updating also custom meta fields.

WordPress Trac noreply at wordpress.org
Fri Apr 19 20:12:27 UTC 2019


#37226: Main Publish/Update button is updating also custom meta fields.
--------------------------+----------------------
 Reporter:  Er_eri        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  4.5.3
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by desrosj):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Hi @Er_eri,

 Thank you for opening this ticket, and welcome to Trac! My apologies that
 it took so long for you to receive a response.

 It seems like you are describing a
 [https://en.wikipedia.org/wiki/Race_condition#Software race condition].
 Unfortunately, there is no way to "version" meta values to ensure this
 does not happen. You will need to account for this in your code.

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


More information about the wp-trac mailing list