diff --git a/src/wp-admin/edit-comments.php b/src/wp-admin/edit-comments.php
index 28be5c9df9..ed34545584 100644
|
a
|
b
|
if ( isset( $_REQUEST['approved'] ) || isset( $_REQUEST['deleted'] ) || isset( $
|
| 345 | 345 | } |
| 346 | 346 | } |
| 347 | 347 | |
| 348 | | echo '<div id="moderated" class="updated notice is-dismissible"><p>' . implode( "<br/>\n", $messages ) . '</p></div>'; |
| | 348 | echo '<div id="moderated" class="updated notice is-dismissible"><p>' . implode( "<br />\n", $messages ) . '</p></div>'; |
| 349 | 349 | } |
| 350 | 350 | } |
| 351 | 351 | ?> |
diff --git a/src/wp-admin/includes/class-custom-background.php b/src/wp-admin/includes/class-custom-background.php
index 4914ebde39..f67105b0db 100644
|
a
|
b
|
class Custom_Background {
|
| 306 | 306 | <td> |
| 307 | 307 | <form method="post"> |
| 308 | 308 | <?php wp_nonce_field( 'custom-background-remove', '_wpnonce-custom-background-remove' ); ?> |
| 309 | | <?php submit_button( __( 'Remove Background Image' ), '', 'remove-background', false ); ?><br/> |
| | 309 | <?php submit_button( __( 'Remove Background Image' ), '', 'remove-background', false ); ?><br /> |
| 310 | 310 | <?php _e( 'This will remove the background image. You will not be able to restore any customizations.' ); ?> |
| 311 | 311 | </form> |
| 312 | 312 | </td> |
| … |
… |
class Custom_Background {
|
| 320 | 320 | <td> |
| 321 | 321 | <form method="post"> |
| 322 | 322 | <?php wp_nonce_field( 'custom-background-reset', '_wpnonce-custom-background-reset' ); ?> |
| 323 | | <?php submit_button( __( 'Restore Original Image' ), '', 'reset-background', false ); ?><br/> |
| | 323 | <?php submit_button( __( 'Restore Original Image' ), '', 'reset-background', false ); ?><br /> |
| 324 | 324 | <?php _e( 'This will restore the original background image. You will not be able to restore any customizations.' ); ?> |
| 325 | 325 | </form> |
| 326 | 326 | </td> |
diff --git a/src/wp-admin/includes/class-wp-filesystem-base.php b/src/wp-admin/includes/class-wp-filesystem-base.php
index 607915bfec..8d83b24dd6 100644
|
a
|
b
|
class WP_Filesystem_Base {
|
| 262 | 262 | |
| 263 | 263 | if ( $this->verbose ) { |
| 264 | 264 | /* translators: 1: Folder to locate, 2: Folder to start searching from. */ |
| 265 | | printf( "\n" . __( 'Looking for %1$s in %2$s' ) . "<br/>\n", $folder, $base ); |
| | 265 | printf( "\n" . __( 'Looking for %1$s in %2$s' ) . "<br />\n", $folder, $base ); |
| 266 | 266 | } |
| 267 | 267 | |
| 268 | 268 | $folder_parts = explode( '/', $folder ); |
| … |
… |
class WP_Filesystem_Base {
|
| 291 | 291 | |
| 292 | 292 | if ( $this->verbose ) { |
| 293 | 293 | /* translators: %s: Directory name. */ |
| 294 | | printf( "\n" . __( 'Changing to %s' ) . "<br/>\n", $newdir ); |
| | 294 | printf( "\n" . __( 'Changing to %s' ) . "<br />\n", $newdir ); |
| 295 | 295 | } |
| 296 | 296 | |
| 297 | 297 | // Only search for the remaining path tokens in the directory, not the full path again. |
| … |
… |
class WP_Filesystem_Base {
|
| 309 | 309 | if ( isset( $files[ $last_path ] ) ) { |
| 310 | 310 | if ( $this->verbose ) { |
| 311 | 311 | /* translators: %s: Directory name. */ |
| 312 | | printf( "\n" . __( 'Found %s' ) . "<br/>\n", $base . $last_path ); |
| | 312 | printf( "\n" . __( 'Found %s' ) . "<br />\n", $base . $last_path ); |
| 313 | 313 | } |
| 314 | 314 | |
| 315 | 315 | return trailingslashit( $base . $last_path ); |
diff --git a/src/wp-admin/includes/class-wp-ms-users-list-table.php b/src/wp-admin/includes/class-wp-ms-users-list-table.php
index d2ba7c72b5..f9eb81dc8d 100644
|
a
|
b
|
class WP_MS_Users_List_Table extends WP_List_Table {
|
| 443 | 443 | echo "<span class='$action'>$link$sep</span>"; |
| 444 | 444 | } |
| 445 | 445 | |
| 446 | | echo '</small></span><br/>'; |
| | 446 | echo '</small></span><br />'; |
| 447 | 447 | } |
| 448 | 448 | } |
| 449 | 449 | |
diff --git a/src/wp-admin/includes/class-wp-plugins-list-table.php b/src/wp-admin/includes/class-wp-plugins-list-table.php
index d5a4a93e3f..217689ef91 100644
|
a
|
b
|
class WP_Plugins_List_Table extends WP_List_Table {
|
| 752 | 752 | $plugin_name = $plugin_file; |
| 753 | 753 | |
| 754 | 754 | if ( $plugin_file !== $plugin_data['Name'] ) { |
| 755 | | $plugin_name .= '<br/>' . $plugin_data['Name']; |
| | 755 | $plugin_name .= '<br />' . $plugin_data['Name']; |
| 756 | 756 | } |
| 757 | 757 | |
| 758 | 758 | if ( true === ( $dropins[ $plugin_file ][1] ) ) { // Doesn't require a constant. |
diff --git a/src/wp-admin/install.php b/src/wp-admin/install.php
index 8ff550c951..635113287d 100644
|
a
|
b
|
function display_setup_form( $error = null ) {
|
| 187 | 187 | if ( has_action( 'blog_privacy_selector' ) ) { |
| 188 | 188 | ?> |
| 189 | 189 | <input id="blog-public" type="radio" name="blog_public" value="1" <?php checked( 1, $blog_public ); ?> /> |
| 190 | | <label for="blog-public"><?php _e( 'Allow search engines to index this site' ); ?></label><br/> |
| | 190 | <label for="blog-public"><?php _e( 'Allow search engines to index this site' ); ?></label><br /> |
| 191 | 191 | <input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked( 0, $blog_public ); ?> /> |
| 192 | 192 | <label for="blog-norobots"><?php _e( 'Discourage search engines from indexing this site' ); ?></label> |
| 193 | 193 | <p class="description"><?php _e( 'Note: Neither of these options blocks access to your site — it is up to search engines to honor your request.' ); ?></p> |
diff --git a/src/wp-admin/network/settings.php b/src/wp-admin/network/settings.php
index 75c13ae863..8de34f47d8 100644
|
a
|
b
|
if ( isset( $_GET['updated'] ) ) {
|
| 497 | 497 | echo '<fieldset><legend class="screen-reader-text">' . __( 'Enable menus' ) . '</legend>'; |
| 498 | 498 | |
| 499 | 499 | foreach ( (array) $menu_items as $key => $val ) { |
| 500 | | echo "<label><input type='checkbox' name='menu_items[" . $key . "]' value='1'" . ( isset( $menu_perms[ $key ] ) ? checked( $menu_perms[ $key ], '1', false ) : '' ) . ' /> ' . esc_html( $val ) . '</label><br/>'; |
| | 500 | echo "<label><input type='checkbox' name='menu_items[" . $key . "]' value='1'" . ( isset( $menu_perms[ $key ] ) ? checked( $menu_perms[ $key ], '1', false ) : '' ) . ' /> ' . esc_html( $val ) . '</label><br />'; |
| 501 | 501 | } |
| 502 | 502 | |
| 503 | 503 | echo '</fieldset>'; |
diff --git a/src/wp-admin/network/site-info.php b/src/wp-admin/network/site-info.php
index 8cad4ead2a..894ebf048f 100644
|
a
|
b
|
if ( ! empty( $messages ) ) {
|
| 197 | 197 | <legend class="screen-reader-text"><?php _e( 'Set site attributes' ); ?></legend> |
| 198 | 198 | <?php foreach ( $attribute_fields as $field_key => $field_label ) : ?> |
| 199 | 199 | <label><input type="checkbox" name="blog[<?php echo $field_key; ?>]" value="1" <?php checked( (bool) $details->$field_key, true ); ?> <?php disabled( ! in_array( (int) $details->$field_key, array( 0, 1 ), true ) ); ?> /> |
| 200 | | <?php echo $field_label; ?></label><br/> |
| | 200 | <?php echo $field_label; ?></label><br /> |
| 201 | 201 | <?php endforeach; ?> |
| 202 | 202 | <fieldset> |
| 203 | 203 | </td> |
diff --git a/src/wp-admin/options-reading.php b/src/wp-admin/options-reading.php
index 2c89f14474..cf3dd98e5b 100644
|
a
|
b
|
else :
|
| 181 | 181 | <td><fieldset><legend class="screen-reader-text"><span><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site visibility' ) : _e( 'Search engine visibility' ); ?> </span></legend> |
| 182 | 182 | <?php if ( has_action( 'blog_privacy_selector' ) ) : ?> |
| 183 | 183 | <input id="blog-public" type="radio" name="blog_public" value="1" <?php checked( '1', get_option( 'blog_public' ) ); ?> /> |
| 184 | | <label for="blog-public"><?php _e( 'Allow search engines to index this site' ); ?></label><br/> |
| | 184 | <label for="blog-public"><?php _e( 'Allow search engines to index this site' ); ?></label><br /> |
| 185 | 185 | <input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked( '0', get_option( 'blog_public' ) ); ?> /> |
| 186 | 186 | <label for="blog-norobots"><?php _e( 'Discourage search engines from indexing this site' ); ?></label> |
| 187 | 187 | <p class="description"><?php _e( 'Note: Neither of these options blocks access to your site — it is up to search engines to honor your request.' ); ?></p> |