Reply To: Cache?

Home Forums Premier Support Cache? Reply To: Cache?

#20551

Terrence
Participant

Found it:

slp-janitor.php

REPLACE:

if ( !in_array( ‘store-locator-le/store-locator-le.php’, apply_filters( ‘active_plugins’, get_option(‘active_plugins’)))) {

return;

}

WITH:

include_once( ABSPATH . ‘wp-admin/includes/plugin.php’ );

if ( !function_exists(‘is_plugin_active’) ||  !is_plugin_active( ‘store-locator-le/store-locator-le.php’)) {

return;

}

  • This reply was modified 3 years, 5 months ago by  Terrence.