Support » Plugin: Yoast SEO » Plugin Disabled Itself When I Upgraded To 1.44

  • This plugin is very cool and for my first 6 posts everything was great. I then updated to version 1.44 and things went south in a hurry for me. This now shows in my plugin editor and I’m not sure if my theme is the culprit, the new version of wp 3.5.1 or the new version of Yoast WordPress Plug-in. site is http://www.vtext.mobi

    I’m not a newbie, nor would i call myself an expert. Should i go and downgrade to previous versions?

    Thanks for providing a very cool plugin

    -vic

    if ( !defined( ‘DB_NAME’ ) ) {
    header( ‘HTTP/1.0 403 Forbidden’ );
    die;
    }

    if ( !defined( ‘WPSEO_URL’ ) )
    define( ‘WPSEO_URL’, plugin_dir_url( __FILE__ ) );
    if ( !defined( ‘WPSEO_PATH’ ) )
    define( ‘WPSEO_PATH’, plugin_dir_path( __FILE__ ) );
    if ( !defined( ‘WPSEO_BASENAME’ ) )
    define( ‘WPSEO_BASENAME’, plugin_basename( __FILE__ ) );

    define( ‘WPSEO_FILE’, __FILE__ );

    load_plugin_textdomain( ‘wordpress-seo’, false, dirname( plugin_basename( __FILE__ ) ) . ‘/languages’ );

    if ( version_compare( PHP_VERSION, ‘5.2’, ‘<‘ ) ) {
    if ( is_admin() && ( !defined( ‘DOING_AJAX’ ) || !DOING_AJAX ) ) {
    require_once ABSPATH . ‘/wp-admin/includes/plugin.php’;
    deactivate_plugins( __FILE__ );
    wp_die( sprintf( __( ‘WordPress SEO requires PHP 5.2 or higher, as does WordPress 3.2 and higher. The plugin has now disabled itself. For more info, %s$1see this post%s$2.’, ‘wordpress-seo’ ), ‘‘, ‘‘ ) );

    http://wordpress.org/extend/plugins/wordpress-seo/

  • The topic ‘Plugin Disabled Itself When I Upgraded To 1.44’ is closed to new replies.