-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
In WPDRMS\ASP\Hooks\Filters Asset.php the shutdown method should check if the request is for an .xml file.
function onShutdown() {
if (
wd_asp()->manager->getContext() == 'frontend' && !wp_is_json_request()
&& !isset($_POST['ags_wc_filters_ajax_shop']) // divi shop live pagination
&& !(
isset($_SERVER['REQUEST_URI']) &&
substr_compare($_SERVER['REQUEST_URI'], '.xml', -strlen('.xml')) === 0
) // Skip for XML document requests
) {
Manager::instance()->printBackup();
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done