Coding Standards: Add a space before / character in some self-closing HTML tags.
While this has no effect on the code, it fixes a minor inconsistency with the rest of core. Props laxman-prajapati. Fixes #52870. Built from https://develop.svn.wordpress.org/trunk@50556 git-svn-id: http://core.svn.wordpress.org/trunk@50169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1063,7 +1063,7 @@ function wp_admin_bar_search_menu( $wp_admin_bar ) {
|
||||
$form = '<form action="' . esc_url( home_url( '/' ) ) . '" method="get" id="adminbarsearch">';
|
||||
$form .= '<input class="adminbar-input" name="s" id="adminbar-search" type="text" value="" maxlength="150" />';
|
||||
$form .= '<label for="adminbar-search" class="screen-reader-text">' . __( 'Search' ) . '</label>';
|
||||
$form .= '<input type="submit" class="adminbar-button" value="' . __( 'Search' ) . '"/>';
|
||||
$form .= '<input type="submit" class="adminbar-button" value="' . __( 'Search' ) . '" />';
|
||||
$form .= '</form>';
|
||||
|
||||
$wp_admin_bar->add_node(
|
||||
|
||||
Reference in New Issue
Block a user