Version Description
- Added a "Documentation" link below the plugin description. For people concerned about the recent GDPR legislation, the documentation now includes a page explaining how the plugin processes personal data. Short version: It usually doesn't.
- Tested with WP 4.9.6.
Download this release
Release Info
| Developer | whiteshadow |
| Plugin | |
| Version | 1.8.4 |
| Comparing to | |
| See all releases | |
Code changes from version 1.8.3 to 1.8.4
- includes/menu-editor-core.php +20 -0
- menu-editor.php +1 -1
- readme.txt +6 -2
includes/menu-editor-core.php
CHANGED
|
@@ -311,6 +311,9 @@ class WPMenuEditor extends MenuEd_ShadowPluginFramework {
|
|
| 311 |
$this->access_test_runner = new ameAccessTestRunner($this, $this->get);
|
| 312 |
}
|
| 313 |
|
|
|
|
|
|
|
|
|
|
| 314 |
//Utility actions. Modules can use them in their templates.
|
| 315 |
add_action('admin_menu_editor-display_tabs', array($this, 'display_editor_tabs'));
|
| 316 |
add_action('admin_menu_editor-display_header', array($this, 'display_settings_page_header'));
|
|
@@ -4077,6 +4080,23 @@ class WPMenuEditor extends MenuEd_ShadowPluginFramework {
|
|
| 4077 |
return $cap_power;
|
| 4078 |
}
|
| 4079 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4080 |
private function get_active_modules() {
|
| 4081 |
$modules = $this->get_available_modules();
|
| 4082 |
|
| 311 |
$this->access_test_runner = new ameAccessTestRunner($this, $this->get);
|
| 312 |
}
|
| 313 |
|
| 314 |
+
//Additional links below the plugin description.
|
| 315 |
+
add_filter('plugin_row_meta', array($this, 'add_plugin_row_meta_links'), 10, 2);
|
| 316 |
+
|
| 317 |
//Utility actions. Modules can use them in their templates.
|
| 318 |
add_action('admin_menu_editor-display_tabs', array($this, 'display_editor_tabs'));
|
| 319 |
add_action('admin_menu_editor-display_header', array($this, 'display_settings_page_header'));
|
| 4080 |
return $cap_power;
|
| 4081 |
}
|
| 4082 |
|
| 4083 |
+
public function add_plugin_row_meta_links($pluginMeta, $pluginFile) {
|
| 4084 |
+
$isRelevant = ($pluginFile == $this->plugin_basename);
|
| 4085 |
+
|
| 4086 |
+
if ( $isRelevant && $this->current_user_can_edit_menu() ) {
|
| 4087 |
+
$documentationUrl = $this->is_pro_version()
|
| 4088 |
+
? 'https://adminmenueditor.com/documentation/'
|
| 4089 |
+
: 'https://adminmenueditor.com/free-version-docs/';
|
| 4090 |
+
$pluginMeta[] = sprintf(
|
| 4091 |
+
'<a href="%s">%s</a>',
|
| 4092 |
+
esc_attr($documentationUrl),
|
| 4093 |
+
'Documentation'
|
| 4094 |
+
);
|
| 4095 |
+
}
|
| 4096 |
+
|
| 4097 |
+
return $pluginMeta;
|
| 4098 |
+
}
|
| 4099 |
+
|
| 4100 |
private function get_active_modules() {
|
| 4101 |
$modules = $this->get_available_modules();
|
| 4102 |
|
menu-editor.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
Plugin Name: Admin Menu Editor
|
| 4 |
Plugin URI: http://w-shadow.com/blog/2008/12/20/admin-menu-editor-for-wordpress/
|
| 5 |
Description: Lets you directly edit the WordPress admin menu. You can re-order, hide or rename existing menus, add custom menus and more.
|
| 6 |
-
Version: 1.8.
|
| 7 |
Author: Janis Elsts
|
| 8 |
Author URI: http://w-shadow.com/blog/
|
| 9 |
*/
|
| 3 |
Plugin Name: Admin Menu Editor
|
| 4 |
Plugin URI: http://w-shadow.com/blog/2008/12/20/admin-menu-editor-for-wordpress/
|
| 5 |
Description: Lets you directly edit the WordPress admin menu. You can re-order, hide or rename existing menus, add custom menus and more.
|
| 6 |
+
Version: 1.8.4
|
| 7 |
Author: Janis Elsts
|
| 8 |
Author URI: http://w-shadow.com/blog/
|
| 9 |
*/
|
readme.txt
CHANGED
|
@@ -3,8 +3,8 @@ Contributors: whiteshadow
|
|
| 3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=A6P9S6CE3SRSW
|
| 4 |
Tags: admin, dashboard, menu, security, wpmu
|
| 5 |
Requires at least: 4.1
|
| 6 |
-
Tested up to: 4.9.
|
| 7 |
-
Stable tag: 1.8.
|
| 8 |
|
| 9 |
Lets you edit the WordPress admin menu. You can re-order, hide or rename menus, add custom menus and more.
|
| 10 |
|
|
@@ -63,6 +63,10 @@ Plugins installed in the `mu-plugins` directory are treated as "always on", so y
|
|
| 63 |
|
| 64 |
== Changelog ==
|
| 65 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
= 1.8.3 =
|
| 67 |
* Added a couple of tutorial links to the settings page.
|
| 68 |
* Fixed a potential crash that was caused by a bug in the "WP Editor" plugin version 1.2.6.3.
|
| 3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=A6P9S6CE3SRSW
|
| 4 |
Tags: admin, dashboard, menu, security, wpmu
|
| 5 |
Requires at least: 4.1
|
| 6 |
+
Tested up to: 4.9.6
|
| 7 |
+
Stable tag: 1.8.4
|
| 8 |
|
| 9 |
Lets you edit the WordPress admin menu. You can re-order, hide or rename menus, add custom menus and more.
|
| 10 |
|
| 63 |
|
| 64 |
== Changelog ==
|
| 65 |
|
| 66 |
+
= 1.8.4 =
|
| 67 |
+
* Added a "Documentation" link below the plugin description. For people concerned about the recent GDPR legislation, the documentation now includes a page explaining [how the plugin processes personal data](https://adminmenueditor.com/free-version-docs/about-data-processing-free-version/). Short version: It usually doesn't.
|
| 68 |
+
* Tested with WP 4.9.6.
|
| 69 |
+
|
| 70 |
= 1.8.3 =
|
| 71 |
* Added a couple of tutorial links to the settings page.
|
| 72 |
* Fixed a potential crash that was caused by a bug in the "WP Editor" plugin version 1.2.6.3.
|
