You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, S3's init loads on plugins_loaded at priority 10. This means uploads aren't correctly set up prior to this, i.e. if alphabetically-earlier plugins run callbacks on plugins_loaded.
We should run this at a much earlier priority, such as 0, since all it does is add further hooks.
Acceptance criteria:
Calling wp_upload_dir() from a plugin on the plugins_loaded (default priority) hook should return the S3 URL
The text was updated successfully, but these errors were encountered:
Currently, S3's init loads on
plugins_loaded
at priority 10. This means uploads aren't correctly set up prior to this, i.e. if alphabetically-earlier plugins run callbacks onplugins_loaded
.We should run this at a much earlier priority, such as
0
, since all it does is add further hooks.Acceptance criteria:
wp_upload_dir()
from a plugin on theplugins_loaded
(default priority) hook should return the S3 URLThe text was updated successfully, but these errors were encountered: