WordPress 4.8.2 prepare method breaks plugin
-
I’ve seen two topics on this, my guess is that the new update caused some issue because I am also getting this error:
WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '%1$s )' at line 3 for query
SELECT internal_link_count, incoming_link_count, object_id
FROM wp_yoast_seo_meta
WHERE object_id IN ( %1$s ) made by WP_List_Table->display, WP_List_Table->display_tablenav, WP_Posts_List_Table->extra_tablenav, do_action('manage_posts_extra_tablenav'), WP_Hook->do_action, WP_Hook->apply_filters, WPSEO_Link_Columns->count_objects, WPSEO_Link_Columns->set_count_objects, WPSEO_Link_Column_Count->set, WPSEO_Link_Column_Count->get_results
The update said:
$wpdb->prepare() can create unexpected and unsafe queries leading to potential SQL injection (SQLi). WordPress core is not directly vulnerable to this issue, but we’ve added hardening to prevent plugins and themes from accidentally causing a vulnerability.
The topic ‘WordPress 4.8.2 prepare method breaks plugin’ is closed to new replies.