Advanced Sidebar Menu - Version 7.0.3

Version Description

Download this release

Release Info

Developer Mat Lipe
Plugin Icon 128x128 Advanced Sidebar Menu
Version 7.0.3
Comparing to
See all releases

Code changes from version 7.0.2 to 7.0.3

advanced-sidebar-menu.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Advanced Sidebar Menu
4
Plugin URI: https://matlipe.com/advanced-sidebar-menu/
5
Description: Creates dynamic menus based on parent/child relationship of your pages or categories.
6
Author: Mat Lipe
7
- Version: 7.0.2
8
Author URI: https://matlipe.com
9
Text Domain: advanced-sidebar-menu
10
*/
4
Plugin URI: https://matlipe.com/advanced-sidebar-menu/
5
Description: Creates dynamic menus based on parent/child relationship of your pages or categories.
6
Author: Mat Lipe
7
+ Version: 7.0.3
8
Author URI: https://matlipe.com
9
Text Domain: advanced-sidebar-menu
10
*/
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=paypa
5
Tags: menus, sidebar menu, hierarchy, category menu, pages menu
6
Requires at least: 4.6.0
7
Tested up to: 4.9.1
8
- Stable tag: 7.0.2
9
10
== Description ==
11
@@ -16,7 +16,7 @@ Keeps the menu clean and usable. Only related items display so you don't have to
16
17
<strong>Check out <a href="https://matlipe.com/product/advanced-sidebar-menu-pro/">Advanced Sidebar Menu Pro</a> for more features including priority support, the ability to customize the look and feel, custom text for your links, excluding of pages, category link ordering, accordions, custom post types, and so much more!</strong>
18
19
- <blockquote><a href="https://matlipe.com/product/advanced-sidebar-menu-pro/" target="_blank">Pro version 2.3.0</a> just dropped with lots of great new stuff!</blockquote>
20
21
22
<h4>Page Widget Options</h4>
@@ -61,6 +61,7 @@ Keeps the menu clean and usable. Only related items display so you don't have to
61
* Link ordering for the category widget
62
* Number of levels of pages to show when always displayed child pages is not checked.
63
* Ability to select and display custom post types **NEW**
64
65
<h4>Developers</h4>
66
Developer docs may be found <a target="_blank" href="https://matlipe.com/advanced-sidebar-menu/developer-docs/">here</a>.
5
Tags: menus, sidebar menu, hierarchy, category menu, pages menu
6
Requires at least: 4.6.0
7
Tested up to: 4.9.1
8
+ Stable tag: 7.0.3
9
10
== Description ==
11
16
17
<strong>Check out <a href="https://matlipe.com/product/advanced-sidebar-menu-pro/">Advanced Sidebar Menu Pro</a> for more features including priority support, the ability to customize the look and feel, custom text for your links, excluding of pages, category link ordering, accordions, custom post types, and so much more!</strong>
18
19
+ <blockquote><a href="https://matlipe.com/product/advanced-sidebar-menu-pro/" target="_blank">Pro version 2.4.0</a> just dropped with lots of great new stuff!</blockquote>
20
21
22
<h4>Page Widget Options</h4>
61
* Link ordering for the category widget
62
* Number of levels of pages to show when always displayed child pages is not checked.
63
* Ability to select and display custom post types **NEW**
64
+ * Ability to select and display custom taxonomies **NEW**
65
66
<h4>Developers</h4>
67
Developer docs may be found <a target="_blank" href="https://matlipe.com/advanced-sidebar-menu/developer-docs/">here</a>.
src/Menus/Category.php CHANGED
@@ -382,7 +382,7 @@ class Advanced_Sidebar_Menu_Menus_Category extends Advanced_Sidebar_Menu_Menus_A
382
*/
383
public function is_current_term_ancestor( WP_Term $term ) {
384
$return = false;
385
- if( (int) $term->term_id === (int) $this->current_term || in_array( $term->term_id, $this->ancestors, false ) ){
386
$all_children = get_terms( $this->get_taxonomy(), array(
387
'child_of' => $term->term_id,
388
'fields' => 'ids',
382
*/
383
public function is_current_term_ancestor( WP_Term $term ) {
384
$return = false;
385
+ if( (int) $term->term_id === (int) $this->current_term->term_id || in_array( $term->term_id, $this->ancestors, false ) ){
386
$all_children = get_terms( $this->get_taxonomy(), array(
387
'child_of' => $term->term_id,
388
'fields' => 'ids',