WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Javascript error on post types where WP SEO metabox is disabled (1 post)

  1. axwax
    Member
    Posted 3 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic