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:
parent
c59504f760
commit
0d4aa4df6c
|
@ -1198,8 +1198,6 @@ function get_terms( $args = array(), $deprecated = '' ) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$empty_array = array();
|
|
||||||
|
|
||||||
if ( ! empty( $args['taxonomy'] ) ) {
|
if ( ! empty( $args['taxonomy'] ) ) {
|
||||||
foreach ( $args['taxonomy'] as $taxonomy ) {
|
foreach ( $args['taxonomy'] as $taxonomy ) {
|
||||||
if ( ! taxonomy_exists( $taxonomy ) ) {
|
if ( ! taxonomy_exists( $taxonomy ) ) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.6-alpha-37621';
|
$wp_version = '4.6-alpha-37622';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue