Thanks for installing the Pro version of WP Retina 2x :) However, the free version is still enabled. Please disable or uninstall it.
'; } add_action( 'admin_notices', 'mfrh_admin_notices' ); return; } global $wr2x_picturefill, $wr2x_retinajs, $wr2x_lazysizes, $wr2x_retina_image, $wr2x_core; $wr2x_version = '5.4.3'; $wr2x_retinajs = '2.0.0'; $wr2x_picturefill = '3.0.2'; $wr2x_lazysizes = '4.0.4'; $wr2x_retina_image = '1.7.2'; // Admin require( 'wr2x_admin.php'); $wr2x_admin = new Meow_WR2X_Admin( 'wr2x', __FILE__, 'wp-retina-2x' ); // Core require( 'core.php' ); $wr2x_core = new Meow_WR2X_Core( $wr2x_admin ); $wr2x_admin->core = $wr2x_core; /******************************************************************************* * TODO: OLD PRO, THIS FUNCTION SHOULD BE REMOVED IN THE FUTURE ******************************************************************************/ add_action( 'admin_notices', 'wr2x_meow_old_version_admin_notices' ); function wr2x_meow_old_version_admin_notices() { if ( !current_user_can( 'install_plugins' ) ) return; if ( isset( $_POST['wr2x_reset_sub'] ) ) { if ( check_admin_referer( 'wr2x_remove_expired_data' ) ) { delete_transient( 'wr2x_validated' ); delete_option( 'wr2x_pro_serial' ); delete_option( 'wr2x_pro_status' ); } } $subscr_id = get_option( 'wr2x_pro_serial', "" ); if ( empty( $subscr_id ) ) return; $forever = strpos( $subscr_id, 'F-' ) !== false; $yearly = strpos( $subscr_id, 'I-' ) !== false; if ( !$forever && !$yearly ) return; ?>