[wp-trac] [WordPress Trac] #45269: REST API: `rest_insert_attachment` and `rest_after_insert_attachment` actions fire twice on update.

WordPress Trac noreply at wordpress.org
Sun Nov 4 00:32:24 UTC 2018


#45269: REST API: `rest_insert_attachment` and `rest_after_insert_attachment`
actions fire twice on update.
--------------------------------------+------------------------------
 Reporter:  peterwilsoncc             |       Owner:  danielbachhuber
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.0
Component:  REST API                  |     Version:  5.0
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+------------------------------

Comment (by peterwilsoncc):

 > At this point, I don't have a strong feeling on the appropriate path
 forward. I'd love to know more about how serious of a real-world problem
 this is, vs. simply a theoretical concern.

 Cool, I didn't think it was a likely problem but wanted to ask in case
 someone else knew better.

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


More information about the wp-trac mailing list