diff options
author | Daniel Weipert <code@drogueronin.de> | 2020-10-28 19:49:52 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2020-10-28 19:49:52 +0100 |
commit | fc7cf1662c93bd0028cbd88c6f56917eae771312 (patch) | |
tree | 4d7460a59e0d38a06e0ef9f517208939c63f446d /src/TimberEditor.php | |
parent | 30ad20decef8eb6c6840c17e25d0cfcfae57818b (diff) |
Uses admin_url for dependency plugin install messages
Diffstat (limited to 'src/TimberEditor.php')
-rw-r--r-- | src/TimberEditor.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TimberEditor.php b/src/TimberEditor.php index 2eb3b36..2dc5138 100644 --- a/src/TimberEditor.php +++ b/src/TimberEditor.php @@ -33,7 +33,7 @@ class TimberEditor <div class="notice notice-error"> <p> <a href="https://wordpress.org/plugins/timber-library/" target="_blank">Timber</a> - (<a href="http://word.press/wp-admin/plugin-install.php?s=timber&tab=search&type=term">install</a>) + (<a href="<?= admin_url('plugin-install.php?s=timber&tab=search&type=term') ?>">install</a>) needs to be installed and active. </p> </div> @@ -49,7 +49,7 @@ class TimberEditor <div class="notice notice-warning is-dismissible"> <p> <a href="https://wordpress.org/plugins/classic-editor/" target="_blank">Classic Editor</a> - (<a href="http://word.press/wp-admin/plugin-install.php?s=classic+editor&tab=search&type=term">install</a>) + (<a href="<?= admin_url('plugin-install.php?s=classic+editor&tab=search&type=term') ?>">install</a>) should be installed and active, because the <b>Gutenberg Editor</b> doesn't play well with <b>CodeMirror</b> <i>currently</i>. </p> </div> |