mirror of
git://develop.git.wordpress.org/
synced 2025-02-25 17:13:30 +01:00
Remove deubg
git-svn-id: https://develop.svn.wordpress.org/trunk@10906 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f7df1f116e
commit
86b731ec7a
@ -20,8 +20,6 @@
|
||||
*/
|
||||
function category_exists($cat_name, $parent = 0) {
|
||||
$id = is_term($cat_name, 'category', $parent);
|
||||
global $wpdb;
|
||||
error_log(var_export($wpdb->queries, true));
|
||||
if ( is_array($id) )
|
||||
$id = $id['term_id'];
|
||||
return $id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user