Skip to content
Commit 6d737f34 authored by Jon Cave's avatar Jon Cave
Browse files

Stop invalid SQL syntax by bailing from wp_get_object_terms() if $object_ids...

Stop invalid SQL syntax by bailing from wp_get_object_terms() if $object_ids or $taxonomies is empty. Props batmoo. Fixes #19952.


git-svn-id: https://core.svn.wordpress.org/trunk@19975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent d2e1f315
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment