diff --git a/wp-admin/edit-form-blocks.php b/wp-admin/edit-form-blocks.php index 60f44edee9..baed3ba9b3 100644 --- a/wp-admin/edit-form-blocks.php +++ b/wp-admin/edit-form-blocks.php @@ -415,9 +415,9 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );

Classic Editor plugin.' ), - __( '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() ) ) ); /** diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 6c83001e9a..9c6a48d019 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -1109,8 +1109,11 @@ function do_block_editor_incompatible_meta_box( $object, $box ) { if ( empty( $plugins['classic-editor/classic-editor.php'] ) ) { if ( current_user_can( 'install_plugins' ) ) { echo '

'; - /* translators: %s: A link to install the Classic Editor plugin. */ - printf( __( 'Please install the Classic Editor plugin to use this meta box.' ), esc_url( self_admin_url( 'plugin-install.php?tab=featured' ) ) ); + printf( + /* translators: %s: A link to install the Classic Editor plugin. */ + __( 'Please install the Classic Editor plugin to use this meta box.' ), + esc_url( wp_nonce_url( self_admin_url( 'plugin-install.php?tab=favorites&user=wordpressdotorg&save=0' ), 'save_wporg_username_' . get_current_user_id() ) ) + ); echo '

'; } } elseif ( is_plugin_inactive( 'classic-editor/classic-editor.php' ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 50f487d7ee..6ab237015e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45656'; +$wp_version = '5.3-alpha-45657'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.