enable_ads_network option reset
-
On all my WordPress installations, setting the enable_ads_network (“Enable UAN”) option to No doesn’t work.
I’ve hunted it down to this snippet in
admin/wp-slimstat-admin.php
:
// Update the table structure and options, if needed
if (!isset(wp_slimstat::$options['version']) || wp_slimstat::$options['version'] != wp_slimstat::$version){
self::update_tables_and_options(false);
}
else{
$filemtime = @filemtime(WP_PLUGIN_DIR.'/wp-slimstat/admin/wp-slimstat-admin.php');
if ($filemtime < date('U') - 864000){
self::update_option('enable_ads_network', 'yes', 'yesno');
}
}
though I don’t really understand what your testing the mtime for…
BTW, the Azure (?) endpoint at wordpress.cloudapp.net is lagging as hell. That’s why I’m trying to disable this in the first place.
- The topic ‘enable_ads_network option reset’ is closed to new replies.