Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set url for Classic Editor direct install #799

Merged
merged 2 commits into from
Mar 9, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion admin/qtx_activation_hook.php
100644 → 100755
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