-
Task
-
Resolution: Fixed
-
Should have
-
None
-
8
-
Media Library
-
Sprint #238
Summary
This is a first step investigation as a way to find a solution for the Media Library asset version control idea. Based on this ticket on stateless repo, there is a plugin that may offer a replacement functionality for media files.
Requirements
- The plugin has already been added to the Gutenberg instance. Test if it works as expected and it's compatible with wp-stateless, especially with pdf files.
- Verify that the media file is being replaced and its original url is preserved. This may require some browser cache cleaning. And with the "Disable Cache" option enabled on browser network tab.
- Review the plugin's source code to assess its maturity. We can also pass it through SonarCloud.
- Investigate if the plugin offers a hook after a file is been replaced (maybe wp_handle_upload?). Use that hook to do a Cloudflare API request to purge it from cache.
Resources
- blocks
-
PLANET-7520 Redirect attachment pages to media url
-
- In Review
-
- is triggering
-
PLANET-7564 Implement media replacement feature
-
- IN DEVELOPMENT
-