mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-13 05:10:18 +00:00
Editor: Replace external Classic Editor plugin URL with a link to Add Plugins screen with Classic Editor pre-selected.
This applies to messages displayed when JavaScript is disabled in Block Editor, or an incompatible meta box is used. Props garrett-eclipse, derweili, afercia. Fixes #47487. git-svn-id: https://develop.svn.wordpress.org/trunk@45657 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -415,9 +415,9 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
<p>
|
||||
<?php
|
||||
$message = sprintf(
|
||||
/* translators: %s: Classic Editor plugin URL */
|
||||
/* translators: %s: A link to install the Classic Editor plugin. */
|
||||
__( 'The block editor requires JavaScript. Please enable JavaScript in your browser settings, or try the <a href="%s">Classic Editor plugin</a>.' ),
|
||||
__( 'https://wordpress.org/plugins/classic-editor/' )
|
||||
esc_url( wp_nonce_url( self_admin_url( 'plugin-install.php?tab=favorites&user=wordpressdotorg&save=0' ), 'save_wporg_username_' . get_current_user_id() ) )
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user