mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Remove deubg
git-svn-id: http://svn.automattic.com/wordpress/trunk@10906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6f431038f2
commit
8362ffda5c
@ -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…
Reference in New Issue
Block a user