WordPress.org

Support

Support » Plugins and Hacks » Yoast SEO » [Plugin: WordPress SEO by Yoast] Small bug report fix

[Plugin: WordPress SEO by Yoast] Small bug report fix

  • WordPress version: 3.4.1
    WordPress SEO version: 1.2.5

    I did this: enabled wp_debug
    I expected the plugin to do this: throw no errors
    Instead it did this: threw errors

    On /admin/class-metabox.php:1366 get_children() is called with an attribute that cause some errors. get_children() shouldn’t be called with 'fields' => 'ids'.

    This is in fact a WordPress eroor, as get_children(), wich uses get_posts(), doesn’t verify if get_posts() returns an array of objects or an array of ids, and it expects an array of objects. This will cause a cascade of errors.

    Fix: just change get_children() with get_posts(). 🙂

    Thx.

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

  • The topic ‘[Plugin: WordPress SEO by Yoast] Small bug report fix’ is closed to new replies.
Skip to toolbar