Customizer et al, use elseif in PHP, not else if.

This was corrected via brute force in [31090].

See #32444.


git-svn-id: https://develop.svn.wordpress.org/trunk@32874 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2015-06-19 22:00:33 +00:00
parent fa99a8af6e
commit 89328eb69f
7 changed files with 13 additions and 13 deletions

View File

@@ -2712,11 +2712,11 @@ function wp_get_object_terms($object_ids, $taxonomies, $args = array()) {
if ( in_array( $orderby, array( 'term_id', 'name', 'slug', 'term_group' ) ) ) {
$orderby = "t.$orderby";
} else if ( in_array( $orderby, array( 'count', 'parent', 'taxonomy', 'term_taxonomy_id' ) ) ) {
} elseif ( in_array( $orderby, array( 'count', 'parent', 'taxonomy', 'term_taxonomy_id' ) ) ) {
$orderby = "tt.$orderby";
} else if ( 'term_order' === $orderby ) {
} elseif ( 'term_order' === $orderby ) {
$orderby = 'tr.term_order';
} else if ( 'none' === $orderby ) {
} elseif ( 'none' === $orderby ) {
$orderby = '';
$order = '';
} else {