Added
* Added a "Nav Menus" tab that lets you hide navigation menu items from roles and users. It supports both classic navigation menus and block-based navigation menus used by FSE themes. In addition to per-role settings, you can also hide menu items from all logged-in users or all logged-out users.
Fixed
* Fixed a bug introduced in version 1.12.3 that could cause the "Redirects" tab to be blank in some configurations. The bug also triggered this JS error: "settings.redirects.map is not a function".
* Fixed a WooCommerce conflict where two "Subscriptions" menu items would appear when AME was active.
Added
* Added background color settings for submenu item hover states, both for the admin menu and for the Toolbar.
* Added a background color setting for the currently active admin menu item.
* Added an option to open the admin menu logo link in a new tab.
* Added an option to automatically delete settings associated with missing roles and users. This only applies to certain settings, such as menu permissions and login redirects. "Missing" means that the role or user doesn't exist on the current site, which usually happens when it has been deleted. In Multisite, it can also happen if different subsites have different roles. By default, this option is enabled on regular sites and disabled in Multisite.
Fixed
* Fixed a WooCommerce conflict where two "Orders" menu items would appear when AME was active.
* Fixed a rare PHP warning "Undefined array key "parent" in ... menu-editor-core.php".
* Fixed a potential crash if the global `$menu` variable is not a native array but is still array-like.
* Improved compatibility with old versions of UiPress.
Changed
* Improved menu drag & drop from the top level to the submenu. You can now drop items anywhere in the active submenu, not just at the bottom.
* Tested with WP 6.5.5.
Fixed
* Fixed the WooCommerce admin page header staying in its old place when changing the admin menu width, the Toolbar height, or when hiding the Toolbar completely. Now the page header will be automatically moved or resized so that it's still fully visible.
* Fixed custom menu items that use the "Embed WP page" feature sometimes having different item URLs for different users or having the URL change unnecessarily. With this update, the URL will change the next time you save the admin menu, but after that it should generally stay static unless you select a different embedded page.
* Fixed synced patterns (a.k.a. reusable blocks) not working when AME Pro is active and *any* Gutenberg blocks are hidden.
* Fixed a potential PHP warning about array indexing in `hide-others-posts.php` when at least one of the "Hide Other Users' Posts" options was enabled in the "Tweaks" tab.
* Updated the MailPoet compatibility fix for MailPoet 4.49.1. Now custom admin menu colors should once again work on MailPoet's admin pages.
* Fixed a fatal error "Cannot use a scalar value as an array" when trying to save changes on the "Easy Hide" page.
* Fixed a conflict with UIPress that was introduced in version 2.24. The conflict prevented most admin menu settings from being applied. For example, hidden menu items would become visible, menu order would reset, renamed items would display the old title, and so on. Custom menu permissions were still effective, so unchecked items would be visible but inaccessible.
##### Added
* Added a way to prevent a role from editing or deleting media files that were uploaded by other users. You can find the new settings in the "Tweaks" tab, in a section named "Media Library Restrictions".
* Added the ability to hide and/or remove block patterns.
* Added an option to hide the "Media" tab in the Gutenberg block inserter.
Fixed
* Fixed inability to save various menu styles and menu separator styles without creating an admin menu configuration first. This issue could cause errors when saving changes in the Admin Customizer.
* Fixed the Gutenberg block editor and the block-based widget editor having unnecessary empty space at the top when the Toolbar (Admin Bar) is hidden.
* Fixed the Gutenberg editor overlapping the admin menu when increasing the width of the admin menu.
* Fixed hidden special blocks like "Pattern placeholder" and "Legacy Widget" showing up in the "Hide Gutenberg Blocks" section even though they are not actually visible in the block inserter.
* Fixed a conflict between unchecking the "Show the Toolbar" option and enabling "Full height" admin menu mode in the Admin Customizer. This could cause the first item of the admin menu to go off the screen, making it invisible.
* Various other layout fixes.
* Fixed an Admin Ccustomizer bug where changing admin menu settings in a certain order and then saving the changes could result in some of those changes being lost. For example, this could happen if you changed the menu bar width, then changed the menu separator margins, then saved the changes - the menu bar width would be reset.
* Made the "Download as admin theme" feature available even when the current session doesn't have any unsaved changes.
* Fixed "Warning: Attempt to read property "cap_key" on null" if a metadata update happens for a non-existent user or the user can't be retrieved.
* Fixed the "Media" menu always being highlighted as "new" when the "Enable Media Replace" plugin is active.
Changed
* The "Hide Profile Fields" tweaks now also apply to the "Edit User" screen.
* Tested up to WordPress 6.5.2.
* Hiding the "Author" meta box now also hides the corresponding section of the "Summary" panel in the Gutenberg block editor.
* Updated the "Meta Boxes" tab to automatically reselect the previously selected role after saving changes.
* Fixed dashboard widget visibility not being saved.
* Hotfix: Fixed users that have the Administrator role and one or more additional roles unexpectedly losing the ability to edit or assign certain roles. This was caused by a preexisting but previosly unknown bug that was exposed by the 2.23 update changing the default "Editable roles" setting for the Administrator role to "Leave unchanged". Users who have manually set it to "Automatic" or "Custom" are likely unaffected.
Added
* Added way to hide posts created by other users. It's a group of new settings in the "Tweaks" tab. It works with posts, pages, media, and custom post types that use the default admin UI.
* Limitations: This feature only affects post tables like the one shown under "Posts -> All Posts". Hiding other users' posts from someone doesn't prevent them from opening those posts by following a direct link, and they can still edit the posts if they have the necessary capabilities (e.g. `edit_others_posts`).
* Made the Gutenberg panel "Revisions" hideable by hiding the corresponding meta box.
Changed
* Made menu editor toolbars "sticky". They will now stay below the admin bar when scrolling down, which can be useful when editing very long menus.
* Changed the default "editable roles" setting for the Administrator role from "Automatic" to "Leave unchanged". This means that users with the Administrator role will now be able to edit any user, even if the user being edited has more capabilities than the Administrator role (which can only happen with custom/modified roles). Of course, you can still configure this by clicking "Editable roles" in the "Roles" tab.
* Restored the "custom permissions" and "custom item" indicators for the "Modern" editor color scheme. Previously, they were not visible in the menu editor when using that color scheme.
* Migrated to Lodash 4.
* Fixed a conflict with Query Monitor that had the potential to cause a fatal error in some rare situations (no errors actually reported by users so far).
* Tested with WP 6.4.1.