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

This was corrected via brute force in [31090].

See #32444.

Built from https://develop.svn.wordpress.org/trunk@32874


git-svn-id: http://core.svn.wordpress.org/trunk@32845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor
2015-06-19 22:01:25 +00:00
parent a75961da89
commit 5e994cd6a1
8 changed files with 14 additions and 14 deletions

View File

@@ -920,7 +920,7 @@ function get_edit_term_link( $term_id, $taxonomy, $object_type = '' ) {
if ( $object_type ) {
$args['post_type'] = $object_type;
} else if ( ! empty( $tax->object_type ) ) {
} elseif ( ! empty( $tax->object_type ) ) {
$args['post_type'] = reset( $tax->object_type );
}