Merge Categories/Hierarchical taxonomies into edit-tags.php. See #11838

git-svn-id: https://develop.svn.wordpress.org/trunk@12818 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse
2010-01-24 11:00:27 +00:00
parent 46b0270ab7
commit bc3fbede7f
10 changed files with 155 additions and 54 deletions
+4 -3
View File
@@ -786,13 +786,13 @@ function &get_terms($taxonomies, $args = '') {
// don't limit the query results when we have to descend the family tree
if ( ! empty($number) && ! $hierarchical && empty( $child_of ) && '' === $parent ) {
if( $offset )
if ( $offset )
$limit = 'LIMIT ' . $offset . ',' . $number;
else
$limit = 'LIMIT ' . $number;
} else
} else {
$limit = '';
}
if ( !empty($search) ) {
$search = like_escape($search);
@@ -2446,4 +2446,5 @@ function is_object_in_taxonomy($object_type, $taxonomy) {
return false;
}
?>