AND get_terms() field queries
git-svn-id: http://svn.automattic.com/wordpress/trunk@5807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
+1
-1
@@ -540,7 +540,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
return($this->error);
|
||||
}
|
||||
|
||||
$args = array('get' => 'all', 'number' => $max_results, 'name_like' => $category);
|
||||
$args = array('get' => 'all', 'number' => $max_results, 'name__like' => $category);
|
||||
$category_suggestions = get_categories($args);
|
||||
|
||||
return($category_suggestions);
|
||||
|
||||
Reference in New Issue
Block a user