mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
The keyword elseif should be used instead of else if so that all control keywords look like single words.
This was a mess, is now standardized across the codebase, except for a few 3rd-party libs. See #30799. git-svn-id: https://develop.svn.wordpress.org/trunk@31090 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1848,7 +1848,7 @@ function get_submit_button( $text = null, $type = 'primary large', $name = 'subm
|
||||
foreach ( $other_attributes as $attribute => $value ) {
|
||||
$attributes .= $attribute . '="' . esc_attr( $value ) . '" '; // Trailing space is important
|
||||
}
|
||||
} else if ( !empty( $other_attributes ) ) { // Attributes provided as a string
|
||||
} elseif ( ! empty( $other_attributes ) ) { // Attributes provided as a string
|
||||
$attributes = $other_attributes;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user