mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-02-03 23:42:47 +00:00
Remove unused variable from get_terms().
Unused since [31284]. Props TimothyBlynJacobs. Fixes #35784. git-svn-id: https://develop.svn.wordpress.org/trunk@36508 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
44159f1afa
commit
d2cbbfe28b
@ -1134,7 +1134,6 @@ function get_terms( $taxonomies, $args = '' ) {
|
||||
global $wpdb;
|
||||
$empty_array = array();
|
||||
|
||||
$single_taxonomy = ! is_array( $taxonomies ) || 1 === count( $taxonomies );
|
||||
if ( ! is_array( $taxonomies ) ) {
|
||||
$taxonomies = array( $taxonomies );
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user