[wp-trac] [WordPress Trac] #52640: The rest_prepare_attachment filter runs twice during REST request
WordPress Trac
noreply at wordpress.org
Wed Feb 24 18:36:02 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: Future Release
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-----------------------------
Comment (by chrisl27):
Although that would be a breaking change for any existing subclasses that
override that method. If that's a concern then maybe a new protected
variable could control this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52640#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list