Remove unused variable from get_terms().
Missed in [37572]. See #35381. Props JustinSainton. See #36992. Built from https://develop.svn.wordpress.org/trunk@37622 git-svn-id: http://core.svn.wordpress.org/trunk@37590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1198,8 +1198,6 @@ function get_terms( $args = array(), $deprecated = '' ) {
|
||||
}
|
||||
}
|
||||
|
||||
$empty_array = array();
|
||||
|
||||
if ( ! empty( $args['taxonomy'] ) ) {
|
||||
foreach ( $args['taxonomy'] as $taxonomy ) {
|
||||
if ( ! taxonomy_exists( $taxonomy ) ) {
|
||||
|
||||
Reference in New Issue
Block a user