[Plugin: WordPress SEO by Yoast] Small bug report fix
-
WordPress version: 3.4.1
WordPress SEO version: 1.2.5I did this: enabled wp_debug
I expected the plugin to do this: throw no errors
Instead it did this: threw errorsOn /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.
- The topic ‘[Plugin: WordPress SEO by Yoast] Small bug report fix’ is closed to new replies.