mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user