Remove unused variable from get_terms()
.
Missed in [37572]. See #35381. Props JustinSainton. See #36992. git-svn-id: https://develop.svn.wordpress.org/trunk@37622 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5f4b2877f9
commit
ab228ff84d
@ -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 ) ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user