Changeset 45657
- Timestamp:
- 07/18/2019 01:32:13 AM (4 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-blocks.php
r45619 r45657 416 416 <?php 417 417 $message = sprintf( 418 /* translators: %s: Classic Editor plugin URL*/418 /* translators: %s: A link to install the Classic Editor plugin. */ 419 419 __( 'The block editor requires JavaScript. Please enable JavaScript in your browser settings, or try the <a href="%s">Classic Editor plugin</a>.' ), 420 __( 'https://wordpress.org/plugins/classic-editor/')420 esc_url( wp_nonce_url( self_admin_url( 'plugin-install.php?tab=favorites&user=wordpressdotorg&save=0' ), 'save_wporg_username_' . get_current_user_id() ) ) 421 421 ); 422 422 -
trunk/src/wp-admin/includes/template.php
r45618 r45657 1110 1110 if ( current_user_can( 'install_plugins' ) ) { 1111 1111 echo '<p>'; 1112 /* translators: %s: A link to install the Classic Editor plugin. */ 1113 printf( __( 'Please install the <a href="%s">Classic Editor plugin</a> to use this meta box.' ), esc_url( self_admin_url( 'plugin-install.php?tab=featured' ) ) ); 1112 printf( 1113 /* translators: %s: A link to install the Classic Editor plugin. */ 1114 __( 'Please install the <a href="%s">Classic Editor plugin</a> to use this meta box.' ), 1115 esc_url( wp_nonce_url( self_admin_url( 'plugin-install.php?tab=favorites&user=wordpressdotorg&save=0' ), 'save_wporg_username_' . get_current_user_id() ) ) 1116 ); 1114 1117 echo '</p>'; 1115 1118 }
Note: See TracChangeset
for help on using the changeset viewer.