Replies: 0
With version 5.7.0 started pushing promotion of plugin limit-login-attempts-reloaded. That is very nasty!
See lines 45-62 in widget_logic.php:
if ( is_admin() )
{
if ( get_option('widget_logic_version') != WIDGET_LOGIC_VERSION )
widget_logic_activate();
if ( !file_exists(WP_PLUGIN_DIR.'/limit-login-attempts-reloaded') && current_user_can('install_plugins') )
{
$promo = (array)get_option( 'wpchefgadget_promo', array() );
if ( empty( $promo['limit-login-attempts'] ) )
{
add_action( 'admin_notices', 'widget_logic_promo');
add_action( 'network_admin_notices', 'widget_logic_promo');
add_action( 'wp_ajax_wpchefgadget_dissmiss_promo', 'widgel_logic_dissmiss_promo' );
add_action( 'admin_enqueue_scripts', 'widget_logic_promo_scripts' );
}
//enqueue admin/js/updates.js
}
}