Version 8.7 of the Advanced Sidebar Menu plugin is now available and ready for general use.
This version included several miscellaneous enhancements.
REST API Enhancements
On each supported post type, an “Advanced Sidebar” meta box has always been available for changing a page’s title in the menus or excluding a page from all menus. This meta box information is now available under the meta key of REST API responses.
The provided REST data will look something like this:
Widget Naming
To simplify naming and preserve space during responsiveness, we removed the “Menu” from the name of all widgets.
- Advanced Sidebar Pages Menu -> Advanced Sidebar – Pages.
- Advanced Sidebar Categories Menu -> Advanced Sidebar – Categories.
- Advanced Sidebar Navigation Menu -> Advanced Sidebar – Navigation.
Basic Version Notices
We have always used notices on the widget screens to let a user know if they have an incompatible basic version of the plugin installed. With the change of the WordPress widgets screens to Gutenberg blocks, the standard WordPress admin notices were removed from the widget screens.
Instead of converting our notices to run within Gutenberg, we took this opportunity to move the notice inside the affected widget. Now, in the rare occurrence a widget is misbehaving, you see why right away in the widget form.
Improved Security
Within the basic version of the plugin exists a debugging system for easily testing options and locating anomalies. One of the available overrides is the widget’s post_type
. Previously this would except any post_type
as the override. Within a really edge case scenario we realized this system could be used to list posts of a type not necessarily intended to be seen by the public.
While we have no reason to believe the overrides were ever used to exploit information, we decided to plug the hole anyway. Going forward, you may only override the post_type
value with public post types.
Miscellaneous
- Uses .webp images for previews.
- Introduced new
Utils::array_map_recursive
method. - Improved debugging overrides with support for multi-dimensional.
- Fine tuned widget styles for WordPress 5.9.
- Improved utm parameters for external links.