Works but annoying
-
Just like the description says, not everything requires the premium API.. However, if you do not include one it will leave an error message at the top of your admin pages, when you click dismiss it just brings you to the place to enter your API.
Once you install the plugin, click edit (on the plugin page), hit ctrl F and search for “Anti-Splog is not fully enabled.”
Delete:
$ust_settings = get_site_option("ust_settings"); $expire = get_site_option("ust_key_dismiss"); if (!$ust_settings['api_key'] && !isset($_GET['dismiss']) && !($expire && $expire > time())) echo "<div id='ust-warning' class='error fade'><p>".sprintf(__('Anti-Splog is not fully enabled. You must <a href="%1$s">enter your WPMU DEV Premium API key</a> to enable the powerful blog and signup checking. <a href="%2$s">More info?</a>', 'ust'), "$ust_admin_url-settings", 'https://premium.wpmudev.org/project/anti-splog'). ' <a title="'.__('Dismiss this notice for one month', 'ust').'" href="' . $ust_admin_url . '-settings&dismiss=1"><small>'.__('Dismiss', 'ust')."</small></a></p></div>";
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Do not delete the } … This will remove the annoying message at the top of your admin area.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Works but annoying’ is closed to new replies.