Ticket #45939: 45939.patch
File 45939.patch, 9.0 KB (added by , 6 years ago) |
---|
-
src/wp-admin/custom-background.php
293 293 <td> 294 294 <form method="post"> 295 295 <?php wp_nonce_field( 'custom-background-remove', '_wpnonce-custom-background-remove' ); ?> 296 <?php submit_button( __( 'Remove Background Image' ), '', 'remove-background', false ); ?><br />296 <?php submit_button( __( 'Remove Background Image' ), '', 'remove-background', false ); ?><br /> 297 297 <?php _e( 'This will remove the background image. You will not be able to restore any customizations.' ); ?> 298 298 </form> 299 299 </td> … … 307 307 <td> 308 308 <form method="post"> 309 309 <?php wp_nonce_field( 'custom-background-reset', '_wpnonce-custom-background-reset' ); ?> 310 <?php submit_button( __( 'Restore Original Image' ), '', 'reset-background', false ); ?><br />310 <?php submit_button( __( 'Restore Original Image' ), '', 'reset-background', false ); ?><br /> 311 311 <?php _e( 'This will restore the original background image. You will not be able to restore any customizations.' ); ?> 312 312 </form> 313 313 </td> -
src/wp-admin/edit-comments.php
321 321 } 322 322 } 323 323 324 echo '<div id="moderated" class="updated notice is-dismissible"><p>' . implode( "<br />\n", $messages ) . '</p></div>';324 echo '<div id="moderated" class="updated notice is-dismissible"><p>' . implode( "<br />\n", $messages ) . '</p></div>'; 325 325 } 326 326 } 327 327 ?> -
src/wp-admin/includes/class-wp-filesystem-base.php
249 249 250 250 if ( $this->verbose ) { 251 251 /* translators: 1: folder to locate, 2: folder to start searching from */ 252 printf( "\n" . __( 'Looking for %1$s in %2$s' ) . "<br />\n", $folder, $base );252 printf( "\n" . __( 'Looking for %1$s in %2$s' ) . "<br />\n", $folder, $base ); 253 253 } 254 254 255 255 $folder_parts = explode( '/', $folder ); … … 277 277 $newdir = trailingslashit( path_join( $base, $key ) ); 278 278 if ( $this->verbose ) { 279 279 /* translators: %s: directory name */ 280 printf( "\n" . __( 'Changing to %s' ) . "<br />\n", $newdir );280 printf( "\n" . __( 'Changing to %s' ) . "<br />\n", $newdir ); 281 281 } 282 282 283 283 // Only search for the remaining path tokens in the directory, not the full path again. … … 293 293 if ( isset( $files[ $last_path ] ) ) { 294 294 if ( $this->verbose ) { 295 295 /* translators: %s: directory name */ 296 printf( "\n" . __( 'Found %s' ) . "<br />\n", $base . $last_path );296 printf( "\n" . __( 'Found %s' ) . "<br />\n", $base . $last_path ); 297 297 } 298 298 return trailingslashit( $base . $last_path ); 299 299 } -
src/wp-admin/includes/class-wp-ms-users-list-table.php
380 380 $sep = ( $i == $action_count ) ? '' : ' | '; 381 381 echo "<span class='$action'>$link$sep</span>"; 382 382 } 383 echo '</small></span><br />';383 echo '</small></span><br />'; 384 384 } 385 385 } 386 386 -
src/wp-admin/includes/class-wp-plugins-list-table.php
608 608 $dropins = _get_dropins(); 609 609 $plugin_name = $plugin_file; 610 610 if ( $plugin_file != $plugin_data['Name'] ) { 611 $plugin_name .= '<br />' . $plugin_data['Name'];611 $plugin_name .= '<br />' . $plugin_data['Name']; 612 612 } 613 613 if ( true === ( $dropins[ $plugin_file ][1] ) ) { // Doesn't require a constant 614 614 $is_active = true; -
src/wp-admin/install.php
191 191 if ( has_action( 'blog_privacy_selector' ) ) { 192 192 ?> 193 193 <input id="blog-public" type="radio" name="blog_public" value="1" <?php checked( 1, $blog_public ); ?> /> 194 <label for="blog-public"><?php _e( 'Allow search engines to index this site' ); ?></label><br />194 <label for="blog-public"><?php _e( 'Allow search engines to index this site' ); ?></label><br /> 195 195 <input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked( 0, $blog_public ); ?> /> 196 196 <label for="blog-norobots"><?php _e( 'Discourage search engines from indexing this site' ); ?></label> 197 197 <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> -
src/wp-admin/network/settings.php
459 459 $fieldset_end = '</fieldset>'; 460 460 } 461 461 foreach ( (array) $menu_items as $key => $val ) { 462 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 />';462 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 />'; 463 463 } 464 464 echo $fieldset_end; 465 465 ?> -
src/wp-admin/network/site-info.php
195 195 <legend class="screen-reader-text"><?php _e( 'Set site attributes' ); ?></legend> 196 196 <?php foreach ( $attribute_fields as $field_key => $field_label ) : ?> 197 197 <label><input type="checkbox" name="blog[<?php echo $field_key; ?>]" value="1" <?php checked( (bool) $details->$field_key, true ); ?> <?php disabled( ! in_array( $details->$field_key, array( 0, 1 ) ) ); ?> /> 198 <?php echo $field_label; ?></label><br />198 <?php echo $field_label; ?></label><br /> 199 199 <?php endforeach; ?> 200 200 <fieldset> 201 201 </td> -
src/wp-admin/options-reading.php
149 149 <td><fieldset><legend class="screen-reader-text"><span><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?> </span></legend> 150 150 <?php if ( has_action( 'blog_privacy_selector' ) ) : ?> 151 151 <input id="blog-public" type="radio" name="blog_public" value="1" <?php checked( '1', get_option( 'blog_public' ) ); ?> /> 152 <label for="blog-public"><?php _e( 'Allow search engines to index this site' ); ?></label><br />152 <label for="blog-public"><?php _e( 'Allow search engines to index this site' ); ?></label><br /> 153 153 <input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked( '0', get_option( 'blog_public' ) ); ?> /> 154 154 <label for="blog-norobots"><?php _e( 'Discourage search engines from indexing this site' ); ?></label> 155 155 <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> -
src/wp-includes/widgets/class-wp-widget-archives.php
183 183 <p><label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:' ); ?></label> <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $instance['title'] ); ?>" /></p> 184 184 <p> 185 185 <input class="checkbox" type="checkbox"<?php checked( $instance['dropdown'] ); ?> id="<?php echo $this->get_field_id( 'dropdown' ); ?>" name="<?php echo $this->get_field_name( 'dropdown' ); ?>" /> <label for="<?php echo $this->get_field_id( 'dropdown' ); ?>"><?php _e( 'Display as dropdown' ); ?></label> 186 <br />186 <br /> 187 187 <input class="checkbox" type="checkbox"<?php checked( $instance['count'] ); ?> id="<?php echo $this->get_field_id( 'count' ); ?>" name="<?php echo $this->get_field_name( 'count' ); ?>" /> <label for="<?php echo $this->get_field_id( 'count' ); ?>"><?php _e( 'Show post counts' ); ?></label> 188 188 </p> 189 189 <?php