Today a brand new version of the Advanced Sidebar Menu PRO plugin was released to the general public!
New mandatory PHP version requirement.
For over a year the required version of PHP for this plugin was set to PHP 5.4. To give any users who were still on legacy versions of PHP time to update we maintained PHP version 5.2 compatibility. In preparation of the new PHP requirements for WordPress Core, this version officially removes support for PHP 5.2 and PHP 5.3 in favor of the stated requirement of PHP 5.4.
With WordPress Core now requiring PHP 5.6 and soon to require PHP 7, it’s reasonable to assume this plugin will be following suit and have higher PHP requirements in the near future. For now, it will run on PHP 5.4+ with version 3.9.0 of this plugin.
New Block Styling Level Support
When we originally add support for “block” styling, we couldn’t imagine anyone would need there menu to be more than 5 levels deep with block styles enabled. As usual, our users found highly creative ways for using this plugin which sometimes require more levels. Previously we had been writing custom styles for individual sites with this requirement.
In version 3.9.0, this limitation has been removed. If you are using the maximum levels settings in the widget, the block styles will automatically support the number of levels you have set. If you are displaying all levels, the styles will support up to 10 menu levels.
If you end up needing more than 10 levels there is also a new filter called
advanced-sidebar-menu-pro/styles/block-style/levels which allows setting a custom number of levels to support like so:
Other Notable Developer Changes
- Some improvements to phpdocs within the plugin.
- phpcs.xml is now compatible with
\Advanced_Sidebar_Menu_Pro_Styles::get_block_styles()now requires the
$menuobject to be passed as a 3rd argument.