Repository navigation
Releases: wikiwyrhead/Wiki-Wordpress-Admin-Menu-Hide
Release list
Version 2.0
[Version 2.0] - 2024-08-02
New Features and Improvements
- Settings Page: Added a comprehensive settings page accessible under the "Menu Hide Settings" in the WordPress admin menu, allowing administrators to configure the plugin easily.
- Role-Based Configuration: Enables administrators to select specific user roles and configure different menu visibility settings for each role.
- Show/Hide Modes: Introduced two modes for menu visibility:
- Hide Mode: Selected menu items will be hidden for the chosen role.
- Show Mode: Only selected menu items will be visible for the chosen role.
- Admin Notices Control: Option to hide admin notices for specific user roles, reducing clutter for certain users.
- Menu Search: Implemented a search feature to quickly find and select menu items to hide or show.
Security Enhancements
- Nonce Verification: Ensured all AJAX requests are protected using nonces to prevent unauthorized access and improve security.
- Input Sanitization: All inputs and outputs have been sanitized and escaped to prevent XSS and other security vulnerabilities.
Code Improvements
- JavaScript Refactoring: Separated JavaScript into a standalone file (
js/camh-admin.js) for better maintainability and organization. - Improved AJAX Handling: Enhanced the AJAX request and response handling for smoother user interactions and better error management.
Bug Fixes
- Resolved issues with menu item visibility when switching between roles.
- Fixed various PHP notices and warnings that appeared under certain conditions.
Instructions for Update
- Backup Your Site: Always ensure you have a full backup of your WordPress site before updating plugins.
- Update Plugin: You can update the plugin via the WordPress admin dashboard or manually by uploading the new plugin files via FTP.
- Review Settings: After updating, visit the "Menu Hide Settings" page to review and configure the settings for your desired user roles.
What's Changed
- Bugfix Fix Security Separate JS Code from PHP Code. Minor Admin UI En… by @wikiwyrhead in #1
New Contributors
- @wikiwyrhead made their first contribution in #1
Full Changelog: V1.9...2.0
Initial Release v1.0
This is the initial release of the Wiki Wordpress Admin Menu Hide plugin.
Overview
The Wiki Wordpress Admin Menu Hide plugin allows administrators to hide or show specific admin menu items and administrative notices based on user roles. This version includes:
- A settings page to configure menu visibility.
- Options to hide or show specific menu items.
- An option to hide admin notices for selected user roles.
- A search box to easily find and select menu items.
Features
- Hide/Show Admin Menus: Choose which admin menu items to hide or show for different user roles.
- Hide Admin Notices: Option to hide admin notices for selected roles.
- User-Friendly Settings Page: Modern interface for configuring settings.
- Search Menu Items: Quickly locate menu items with the search functionality.
Installation
- Upload the
wiki-wordpress-admin-menu-hidefolder to yourwp-content/pluginsdirectory. - Activate the plugin through the Plugins menu in WordPress.
- Go to Menu Hide Settings to configure the plugin.
Notes
- Ensure you have appropriate permissions to access and modify plugin settings.
- Check for plugin conflicts and test functionality after installation.
For more details and documentation, please visit the plugin repository.
Full Changelog: https://github.com/wikiwyrhead/Wiki-Wordpress-Admin-Menu-Hide/commits/v1.0
Version 1.9
Release Information
Plugin Name: Wiki Wordpress Admin Menu Hide
Version: 1.9
Release Date: [Insert Release Date]
Author: Arnel Go
Description
Hides or shows specific admin menu items and hides admin notices for chosen user roles. Includes a settings page to configure the plugin.
Changelog
Enhanced User Interface
- Improved the backend interface for easier management of menu items and settings.
Ajax-Based Settings
- Added AJAX functionality to fetch and save settings dynamically, ensuring a smoother user experience.
Role-Specific Settings
- Fixed the issue where settings for different user roles were not retained. Settings are now correctly saved and loaded for each selected role.
Menu Search Functionality
- Implemented a search box to quickly find and select menu items to hide or show.
Improved Security
- Added nonce verification for AJAX requests to enhance plugin security.
Bug Fixes
- Resolved issues with HTML tags in plugin settings and improved overall stability.
New Features
Role-Based Menu Management
- Users can now manage menu visibility based on selected roles with more flexibility.
Dynamic Settings Form
- The settings form now updates dynamically based on the selected user role.
How to Update
- Download the Latest Version: Obtain the updated plugin version from the WordPress plugin repository or your local copy.
- Upload and Replace Files: Replace the existing plugin files with the new version. Ensure all files are correctly uploaded.
- Verify Settings: After updating, check the plugin settings page to ensure that all configurations are intact and functioning as expected.
- Test Functionality: Confirm that menu items and admin notices are correctly hidden or shown based on the new settings.
Known Issues
- Tell Me
Full Changelog: v1.0...V1.9