Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add preload paths for autosaves #15067
Adds a preload path for autosaves to help optimize the changes made in #7945.
Note there is a trac ticket that replicates this functionality in core (https://core.trac.wordpress.org/ticket/46974). In the meantime this should bring the same optimization to the plugin.
How has this been tested?
With this change: no requests to the autosaves endpoint are made when reloading the editor.
Types of changes
New feature (non-breaking change which adds functionality)