Support » Plugin: Yoast SEO » [Plugin: WordPress SEO by Yoast] Javascript error on post types where WP SEO metabox is disabled

  • axwax

    (@axwax)


    Hi Joost,
    thanks for your great plugin.

    I just noticed that when you disable the WP SEO metabox for a post type (in the SEO Dashboard) there is a javascript error in the “Add New” screen:

    Error: wpseo_meta_desc_length is not defined
    Source File: http://mypage.com/wp-content/plugins/wordpress-seo/js/wp-seo-metabox.js?ver=3.1
    Line: 247

    Wouldn’t it be better if the javascript file was unloaded on pages where the SEO metabox is disabled anyway?

    Cheers,
    Axel

  • The topic ‘[Plugin: WordPress SEO by Yoast] Javascript error on post types where WP SEO metabox is disabled’ is closed to new replies.