mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-13 21:30:26 +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:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user