Ticket #47327: 47327.6.diff
File 47327.6.diff, 5.5 KB (added by , 4 years ago) |
---|
-
src/wp-admin/includes/file.php
diff --git a/src/wp-admin/includes/file.php b/src/wp-admin/includes/file.php index acce21a15f..9928582c7a 100644
a b function request_filesystem_credentials( $form_post, $type = '', $error = false, 2246 2246 <label for="password"> 2247 2247 <span class="field-title"><?php echo $label_pass; ?></span> 2248 2248 <input name="password" type="password" id="password" value="<?php echo $password_value; ?>"<?php disabled( defined( 'FTP_PASS' ) ); ?> /> 2249 <em>2250 2249 <?php 2251 2250 if ( ! defined( 'FTP_PASS' ) ) { 2252 2251 _e( 'This password will not be stored on the server.' );} 2253 2252 ?> 2254 </em>2255 2253 </label> 2256 2254 </div> 2257 2255 <fieldset> -
src/wp-admin/plugin-editor.php
diff --git a/src/wp-admin/plugin-editor.php b/src/wp-admin/plugin-editor.php index 7467ace6aa..a9a43e4804 100644
a b $content = esc_textarea( $content ); 288 288 <span class="spinner"></span> 289 289 </p> 290 290 <?php else : ?> 291 <p> <em>291 <p> 292 292 <?php 293 293 printf( 294 294 /* translators: %s: Documentation URL. */ … … $content = esc_textarea( $content ); 296 296 __( 'https://wordpress.org/support/article/changing-file-permissions/' ) 297 297 ); 298 298 ?> 299 </ em></p>299 </p> 300 300 <?php endif; ?> 301 301 302 302 <?php wp_print_file_editor_templates(); ?> -
src/wp-admin/theme-editor.php
diff --git a/src/wp-admin/theme-editor.php b/src/wp-admin/theme-editor.php index 3cf24cc77e..45781f2eff 100644
a b else : 315 315 <span class="spinner"></span> 316 316 </p> 317 317 <?php else : ?> 318 <p> <em>318 <p> 319 319 <?php 320 320 printf( 321 321 /* translators: %s: Documentation URL. */ … … else : 323 323 __( 'https://wordpress.org/support/article/changing-file-permissions/' ) 324 324 ); 325 325 ?> 326 </ em></p>326 </p> 327 327 <?php endif; ?> 328 328 </div> 329 329 -
src/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php
diff --git a/src/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php b/src/wp-includes/customize/class-wp-customize-nav-menu-locations-control.php index 93db8ac013..92125618ea 100644
a b class WP_Customize_Nav_Menu_Locations_Control extends WP_Customize_Control { 46 46 <# if ( data.isCreating ) { #> 47 47 <p> 48 48 <?php echo _x( 'Where do you want this menu to appear?', 'menu locations' ); ?> 49 <em class="new-menu-locations-widget-note"> 50 <?php 51 printf( 52 /* translators: 1: Documentation URL, 2: Additional link attributes, 3: Accessibility text. */ 53 _x( '(If you plan to use a menu <a href="%1$s" %2$s>widget%3$s</a>, skip this step.)', 'menu locations' ), 54 __( 'https://wordpress.org/support/article/wordpress-widgets/' ), 55 ' class="external-link" target="_blank"', 56 sprintf( 57 '<span class="screen-reader-text"> %s</span>', 58 /* translators: Accessibility text. */ 59 __( '(opens in a new tab)' ) 60 ) 61 ); 62 ?> 63 </em> 49 <?php 50 printf( 51 /* translators: 1: Documentation URL, 2: Additional link attributes, 3: Accessibility text. */ 52 _x( '(If you plan to use a menu <a href="%1$s" %2$s>widget%3$s</a>, skip this step.)', 'menu locations' ), 53 __( 'https://wordpress.org/support/article/wordpress-widgets/' ), 54 ' class="external-link" target="_blank"', 55 sprintf( 56 '<span class="screen-reader-text"> %s</span>', 57 /* translators: Accessibility text. */ 58 __( '(opens in a new tab)' ) 59 ) 60 ); 61 ?> 64 62 </p> 65 63 <# } else { #> 66 64 <p><?php echo _x( 'Here’s where this menu appears. If you’d like to change that, pick another location.', 'menu locations' ); ?></p> -
src/wp-signup.php
diff --git a/src/wp-signup.php b/src/wp-signup.php index 8dacd322b1..654c45d0bb 100644
a b if ( 'none' === $active_signup ) { 984 984 if ( 'blog' === $active_signup || 'all' === $active_signup ) { 985 985 printf( 986 986 /* translators: %s: Site address. */ 987 '<p> <em>' . __( 'The site you were looking for, %s, does not exist, but you can create it now!' ) . '</em></p>',987 '<p>' . __( 'The site you were looking for, %s, does not exist, but you can create it now!' ) . '</p>', 988 988 '<strong>' . $newblog . '</strong>' 989 989 ); 990 990 } else { 991 991 printf( 992 992 /* translators: %s: Site address. */ 993 '<p> <em>' . __( 'The site you were looking for, %s, does not exist.' ) . '</em></p>',993 '<p>' . __( 'The site you were looking for, %s, does not exist.' ) . '</p>', 994 994 '<strong>' . $newblog . '</strong>' 995 995 ); 996 996 } -
tests/phpunit/tests/rest-api/rest-plugins-controller.php
diff --git a/tests/phpunit/tests/rest-api/rest-plugins-controller.php b/tests/phpunit/tests/rest-api/rest-plugins-controller.php index bab1e87ec9..739f553650 100644
a b class WP_REST_Plugins_Controller_Test extends WP_Test_REST_Controller_Testcase { 443 443 } 444 444 445 445 wp_set_current_user( self::$super_admin ); 446 $this->setup_plugin_download();447 446 448 447 $request = new WP_REST_Request( 'POST', self::BASE ); 449 448 $request->set_body_params( … … class WP_REST_Plugins_Controller_Test extends WP_Test_REST_Controller_Testcase { 467 466 } 468 467 469 468 wp_set_current_user( self::$super_admin ); 470 $this->setup_plugin_download();471 469 472 470 $request = new WP_REST_Request( 'POST', self::BASE ); 473 471 $request->set_body_params(