mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-09-23 09:20:26 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@50556 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -111,9 +111,9 @@ if ( $message ) {
|
||||
do_action( "{$taxonomy}_term_edit_form_tag" );
|
||||
?>
|
||||
>
|
||||
<input type="hidden" name="action" value="editedtag"/>
|
||||
<input type="hidden" name="tag_ID" value="<?php echo esc_attr( $tag_ID ); ?>"/>
|
||||
<input type="hidden" name="taxonomy" value="<?php echo esc_attr( $taxonomy ); ?>"/>
|
||||
<input type="hidden" name="action" value="editedtag" />
|
||||
<input type="hidden" name="tag_ID" value="<?php echo esc_attr( $tag_ID ); ?>" />
|
||||
<input type="hidden" name="taxonomy" value="<?php echo esc_attr( $taxonomy ); ?>" />
|
||||
<?php
|
||||
wp_original_referer_field( true, 'previous' );
|
||||
wp_nonce_field( 'update-tag_' . $tag_ID );
|
||||
|
||||
@@ -3698,7 +3698,7 @@ function wp_ajax_parse_embed() {
|
||||
$mce_styles = wpview_media_sandbox_styles();
|
||||
|
||||
foreach ( $mce_styles as $style ) {
|
||||
$styles .= sprintf( '<link rel="stylesheet" href="%s"/>', $style );
|
||||
$styles .= sprintf( '<link rel="stylesheet" href="%s" />', $style );
|
||||
}
|
||||
|
||||
$html = do_shortcode( $parsed );
|
||||
|
||||
@@ -860,10 +860,10 @@ endif;
|
||||
<img src="<?php echo esc_url( $url ); ?>" id="upload" width="<?php echo $width; ?>" height="<?php echo $height; ?>" alt="" />
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="x1" id="x1" value="0"/>
|
||||
<input type="hidden" name="y1" id="y1" value="0"/>
|
||||
<input type="hidden" name="width" id="width" value="<?php echo esc_attr( $width ); ?>"/>
|
||||
<input type="hidden" name="height" id="height" value="<?php echo esc_attr( $height ); ?>"/>
|
||||
<input type="hidden" name="x1" id="x1" value="0" />
|
||||
<input type="hidden" name="y1" id="y1" value="0" />
|
||||
<input type="hidden" name="width" id="width" value="<?php echo esc_attr( $width ); ?>" />
|
||||
<input type="hidden" name="height" id="height" value="<?php echo esc_attr( $height ); ?>" />
|
||||
<input type="hidden" name="attachment_id" id="attachment_id" value="<?php echo esc_attr( $attachment_id ); ?>" />
|
||||
<input type="hidden" name="oitar" id="oitar" value="<?php echo esc_attr( $oitar ); ?>" />
|
||||
<?php if ( empty( $_POST ) && isset( $_GET['file'] ) ) { ?>
|
||||
|
||||
@@ -444,7 +444,7 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||
?>
|
||||
<p class="search-box">
|
||||
<label class="screen-reader-text" for="<?php echo esc_attr( $input_id ); ?>"><?php echo $text; ?>:</label>
|
||||
<input type="search" id="<?php echo esc_attr( $input_id ); ?>" class="wp-filter-search" name="s" value="<?php _admin_search_query(); ?>" placeholder="<?php esc_attr_e( 'Search installed plugins...' ); ?>"/>
|
||||
<input type="search" id="<?php echo esc_attr( $input_id ); ?>" class="wp-filter-search" name="s" value="<?php _admin_search_query(); ?>" placeholder="<?php esc_attr_e( 'Search installed plugins...' ); ?>" />
|
||||
<?php submit_button( $text, 'hide-if-js', '', false, array( 'id' => 'search-submit' ) ); ?>
|
||||
</p>
|
||||
<?php
|
||||
|
||||
@@ -471,7 +471,7 @@ function wp_network_dashboard_right_now() {
|
||||
<form action="<?php echo network_admin_url( 'users.php' ); ?>" method="get">
|
||||
<p>
|
||||
<label class="screen-reader-text" for="search-users"><?php _e( 'Search Users' ); ?></label>
|
||||
<input type="search" name="s" value="" size="30" autocomplete="off" id="search-users"/>
|
||||
<input type="search" name="s" value="" size="30" autocomplete="off" id="search-users" />
|
||||
<?php submit_button( __( 'Search Users' ), '', false, false, array( 'id' => 'submit_users' ) ); ?>
|
||||
</p>
|
||||
</form>
|
||||
@@ -479,7 +479,7 @@ function wp_network_dashboard_right_now() {
|
||||
<form action="<?php echo network_admin_url( 'sites.php' ); ?>" method="get">
|
||||
<p>
|
||||
<label class="screen-reader-text" for="search-sites"><?php _e( 'Search Sites' ); ?></label>
|
||||
<input type="search" name="s" value="" size="30" autocomplete="off" id="search-sites"/>
|
||||
<input type="search" name="s" value="" size="30" autocomplete="off" id="search-sites" />
|
||||
<?php submit_button( __( 'Search Sites' ), '', false, false, array( 'id' => 'submit_sites' ) ); ?>
|
||||
</p>
|
||||
</form>
|
||||
|
||||
@@ -638,7 +638,7 @@ function post_categories_meta_box( $post, $box ) {
|
||||
</a>
|
||||
<p id="<?php echo $tax_name; ?>-add" class="category-add wp-hidden-child">
|
||||
<label class="screen-reader-text" for="new<?php echo $tax_name; ?>"><?php echo $taxonomy->labels->add_new_item; ?></label>
|
||||
<input type="text" name="new<?php echo $tax_name; ?>" id="new<?php echo $tax_name; ?>" class="form-required form-input-tip" value="<?php echo esc_attr( $taxonomy->labels->new_item_name ); ?>" aria-required="true"/>
|
||||
<input type="text" name="new<?php echo $tax_name; ?>" id="new<?php echo $tax_name; ?>" class="form-required form-input-tip" value="<?php echo esc_attr( $taxonomy->labels->new_item_name ); ?>" aria-required="true" />
|
||||
<label class="screen-reader-text" for="new<?php echo $tax_name; ?>_parent">
|
||||
<?php echo $taxonomy->labels->parent_item_colon; ?>
|
||||
</label>
|
||||
|
||||
@@ -183,7 +183,7 @@ function install_themes_upload() {
|
||||
<form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo self_admin_url( 'update.php?action=upload-theme' ); ?>">
|
||||
<?php wp_nonce_field( 'theme-upload' ); ?>
|
||||
<label class="screen-reader-text" for="themezip"><?php _e( 'Theme zip file' ); ?></label>
|
||||
<input type="file" id="themezip" name="themezip" accept=".zip"/>
|
||||
<input type="file" id="themezip" name="themezip" accept=".zip" />
|
||||
<?php submit_button( __( 'Install Now' ), '', 'install-theme-submit', false ); ?>
|
||||
</form>
|
||||
<?php
|
||||
|
||||
@@ -130,7 +130,7 @@ if ( isset( $add_user_errors ) && is_wp_error( $add_user_errors ) ) {
|
||||
</tr>
|
||||
<tr class="form-field form-required">
|
||||
<th scope="row"><label for="email"><?php _e( 'Email' ); ?></label></th>
|
||||
<td><input type="email" class="regular-text" name="user[email]" id="email"/></td>
|
||||
<td><input type="email" class="regular-text" name="user[email]" id="email" /></td>
|
||||
</tr>
|
||||
<tr class="form-field">
|
||||
<td colspan="2" class="td-full"><?php _e( 'A password reset link will be sent to the user via email.' ); ?></td>
|
||||
|
||||
@@ -158,8 +158,8 @@ function list_core_update( $update ) {
|
||||
wp_nonce_field( 'upgrade-core' );
|
||||
|
||||
echo '<p>';
|
||||
echo '<input name="version" value="' . esc_attr( $update->current ) . '" type="hidden"/>';
|
||||
echo '<input name="locale" value="' . esc_attr( $update->locale ) . '" type="hidden"/>';
|
||||
echo '<input name="version" value="' . esc_attr( $update->current ) . '" type="hidden" />';
|
||||
echo '<input name="locale" value="' . esc_attr( $update->locale ) . '" type="hidden" />';
|
||||
if ( $show_buttons ) {
|
||||
if ( $first_pass ) {
|
||||
submit_button( $submit, $current ? '' : 'primary regular', 'upgrade', false );
|
||||
|
||||
Reference in New Issue
Block a user