Skip to content

Commit

Permalink
Set url for Classic Editor install (#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
herrvigg committed Mar 9, 2020
1 parent 7af8603 commit 8b21bf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/qtx_activation_hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ function qtranxf_admin_notices_block_editor() {
! ( class_exists( 'Classic_Editor' ) ||
is_plugin_active( 'disable-gutenberg/disable-gutenberg.php' ) ||
is_plugin_active( 'no-gutenberg/no-gutenberg.php' ) ) ) {
$link = "https://wordpress.org/plugins/classic-editor/";
$link = admin_url( 'plugin-install.php?tab=plugin-information&plugin=classic-editor' );
?>
<div class="notice notice-error">
<p><?php printf( __( 'Block editor (Gutenberg) not supported in %s yet! Please install and activate the <a href="%s"> Classic Editor</a> plugin.', 'qtranslate' ), 'qTranslate&#8209;XT', $link ); ?></p>
Expand Down

0 comments on commit 8b21bf2

Please sign in to comment.