mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Remove deubg
git-svn-id: https://develop.svn.wordpress.org/trunk@10906 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user