Advanced Sidebar Menu - Version 7.6.5

Version Description

Download this release

Release Info

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

Code changes from version 7.6.4 to 7.6.5

advanced-sidebar-menu.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://onpointplugins.com/advanced-sidebar-menu/
5
  * Description: Creates dynamic menus based on parent/child relationship of your pages or categories.
6
  * Author: OnPoint Plugins
7
- * Version: 7.6.4
8
  * Author URI: https://onpointplugins.com
9
  * Text Domain: advanced-sidebar-menu
10
  *
@@ -15,7 +15,7 @@ if ( defined( 'ADVANCED_SIDEBAR_BASIC_VERSION' ) ) {
15
  return;
16
  }
17
 
18
- define( 'ADVANCED_SIDEBAR_BASIC_VERSION', '7.6.4' );
19
  define( 'ADVANCED_SIDEBAR_DIR', plugin_dir_path( __FILE__ ) );
20
 
21
  if ( ! function_exists( 'advanced_sidebar_menu_load' ) ) {
4
  * Plugin URI: https://onpointplugins.com/advanced-sidebar-menu/
5
  * Description: Creates dynamic menus based on parent/child relationship of your pages or categories.
6
  * Author: OnPoint Plugins
7
+ * Version: 7.6.5
8
  * Author URI: https://onpointplugins.com
9
  * Text Domain: advanced-sidebar-menu
10
  *
15
  return;
16
  }
17
 
18
+ define( 'ADVANCED_SIDEBAR_BASIC_VERSION', '7.6.5' );
19
  define( 'ADVANCED_SIDEBAR_DIR', plugin_dir_path( __FILE__ ) );
20
 
21
  if ( ! function_exists( 'advanced_sidebar_menu_load' ) ) {
readme.txt CHANGED
@@ -4,9 +4,9 @@ Contributors: Mat Lipe, onpointplugins
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=paypal%40onpointplugins%2ecom&lc=US&item_name=Advanced%20Sidebar%20Menu&no_note=0&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest
5
  Tags: menus, sidebar menu, hierarchy, category menu, pages menu
6
  Requires at least: 4.8.0
7
- Tested up to: 5.2.3
8
  Requires PHP: 5.6.0
9
- Stable tag: 7.6.4
10
 
11
  == Description ==
12
 
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=paypal%40onpointplugins%2ecom&lc=US&item_name=Advanced%20Sidebar%20Menu&no_note=0&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest
5
  Tags: menus, sidebar menu, hierarchy, category menu, pages menu
6
  Requires at least: 4.8.0
7
+ Tested up to: 5.3.0
8
  Requires PHP: 5.6.0
9
+ Stable tag: 7.6.5
10
 
11
  == Description ==
12
 
src/Menus/Category.php CHANGED
@@ -461,11 +461,17 @@ class Advanced_Sidebar_Menu_Menus_Category extends Advanced_Sidebar_Menu_Menus_A
461
  echo apply_filters( 'advanced_sidebar_menu_category_widget_output', $output, $this->args, $this->instance, $this );
462
 
463
  if ( $close_menu ) {
 
 
 
464
  echo $this->args['after_widget'];
465
  }
466
  }
467
 
468
  if ( ! $close_menu && $menu_open ) {
 
 
 
469
  echo $this->args['after_widget'];
470
  }
471
 
461
  echo apply_filters( 'advanced_sidebar_menu_category_widget_output', $output, $this->args, $this->instance, $this );
462
 
463
  if ( $close_menu ) {
464
+ // @since 7.6.5
465
+ do_action( 'advanced-sidebar-menu/menus/category/render/after', $this );
466
+
467
  echo $this->args['after_widget'];
468
  }
469
  }
470
 
471
  if ( ! $close_menu && $menu_open ) {
472
+ // @since 7.6.5
473
+ do_action( 'advanced-sidebar-menu/menus/category/render/after', $this );
474
+
475
  echo $this->args['after_widget'];
476
  }
477
 
src/Menus/Page.php CHANGED
@@ -185,6 +185,9 @@ class Advanced_Sidebar_Menu_Menus_Page extends Advanced_Sidebar_Menu_Menus_Abstr
185
  $output = require Advanced_Sidebar_Menu_Core::instance()->get_template_part( 'page_list.php' );
186
  echo apply_filters( 'advanced_sidebar_menu_page_widget_output', $output, $this->get_current_post(), $this->args, $this->instance, $this );
187
 
 
 
 
188
  echo $this->args['after_widget'];
189
  // phpcs:enable
190
  }
185
  $output = require Advanced_Sidebar_Menu_Core::instance()->get_template_part( 'page_list.php' );
186
  echo apply_filters( 'advanced_sidebar_menu_page_widget_output', $output, $this->get_current_post(), $this->args, $this->instance, $this );
187
 
188
+ // @since 7.6.5
189
+ do_action( 'advanced-sidebar-menu/menus/page/render/after', $this );
190
+
191
  echo $this->args['after_widget'];
192
  // phpcs:enable
193
  }