[wp-trac] [WordPress Trac] #52640: The rest_prepare_attachment filter runs twice during REST request

WordPress Trac noreply at wordpress.org
Wed Feb 24 14:43:43 UTC 2021


#52640: The rest_prepare_attachment filter runs twice during REST request
--------------------------------------+------------------------------
 Reporter:  chrisl27                  |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  REST API                  |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------
Changes (by chrisl27):

 * keywords:   => has-patch has-unit-tests


Comment:

 Patch has test that will fail without the code change (indicating the
 filter has run twice)

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


More information about the wp-trac mailing list