Breadcrumb NavXT - Version 5.7.1

Version Description

Release date: June 30th, 2017

  • Bug fix: Fixed erroneous use of $linked that caused a PHP warning in bcn_display_json_ld().
  • Bug fix: Fixed issue where removing a breadcrumb from the trail could cause one or more breadcrumb separators to inappropriately disappear.
Download this release

Release Info

Developer mtekk
Plugin Icon 128x128 Breadcrumb NavXT
Version 5.7.1
Comparing to
See all releases

Code changes from version 5.7.0 to 5.7.1

breadcrumb-navxt.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Breadcrumb NavXT
4
  Plugin URI: http://mtekk.us/code/breadcrumb-navxt/
5
  Description: Adds a breadcrumb navigation showing the visitor&#39;s path to their current location. For details on how to use this plugin visit <a href="http://mtekk.us/code/breadcrumb-navxt/">Breadcrumb NavXT</a>.
6
- Version: 5.7.0
7
  Author: John Havlik
8
  Author URI: http://mtekk.us/
9
  License: GPL2
@@ -60,7 +60,7 @@ $breadcrumb_navxt = NULL;
60
  //TODO change to extends mtekk_plugKit
61
  class breadcrumb_navxt
62
  {
63
- const version = '5.7.0';
64
  protected $name = 'Breadcrumb NavXT';
65
  protected $identifier = 'breadcrumb-navxt';
66
  protected $unique_prefix = 'bcn';
@@ -498,6 +498,6 @@ function bcn_display_json_ld($return = false, $reverse = false, $force = false)
498
  global $breadcrumb_navxt;
499
  if($breadcrumb_navxt !== null)
500
  {
501
- return $breadcrumb_navxt->display_json_ld($return, $linked, $reverse, $force);
502
  }
503
- }
3
  Plugin Name: Breadcrumb NavXT
4
  Plugin URI: http://mtekk.us/code/breadcrumb-navxt/
5
  Description: Adds a breadcrumb navigation showing the visitor&#39;s path to their current location. For details on how to use this plugin visit <a href="http://mtekk.us/code/breadcrumb-navxt/">Breadcrumb NavXT</a>.
6
+ Version: 5.7.1
7
  Author: John Havlik
8
  Author URI: http://mtekk.us/
9
  License: GPL2
60
  //TODO change to extends mtekk_plugKit
61
  class breadcrumb_navxt
62
  {
63
+ const version = '5.7.1';
64
  protected $name = 'Breadcrumb NavXT';
65
  protected $identifier = 'breadcrumb-navxt';
66
  protected $unique_prefix = 'bcn';
498
  global $breadcrumb_navxt;
499
  if($breadcrumb_navxt !== null)
500
  {
501
+ return $breadcrumb_navxt->display_json_ld($return, $reverse, $force);
502
  }
503
+ }
class.bcn_admin.php CHANGED
@@ -42,7 +42,7 @@ if(!class_exists('mtekk_adminKit'))
42
  */
43
  class bcn_admin extends mtekk_adminKit
44
  {
45
- const version = '5.7.0';
46
  protected $full_name = 'Breadcrumb NavXT Settings';
47
  protected $short_name = 'Breadcrumb NavXT';
48
  protected $access_level = 'manage_options';
42
  */
43
  class bcn_admin extends mtekk_adminKit
44
  {
45
+ const version = '5.7.1';
46
  protected $full_name = 'Breadcrumb NavXT Settings';
47
  protected $short_name = 'Breadcrumb NavXT';
48
  protected $access_level = 'manage_options';
class.bcn_breadcrumb.php CHANGED
@@ -21,7 +21,7 @@ require_once(dirname(__FILE__) . '/includes/block_direct_access.php');
21
  class bcn_breadcrumb
22
  {
23
  //Our member variables
24
- const version = '5.7.0';
25
  //The main text that will be shown
26
  protected $title;
27
  //The breadcrumb's template, used durring assembly
21
  class bcn_breadcrumb
22
  {
23
  //Our member variables
24
+ const version = '5.7.1';
25
  //The main text that will be shown
26
  protected $title;
27
  //The breadcrumb's template, used durring assembly
class.bcn_breadcrumb_trail.php CHANGED
@@ -21,7 +21,7 @@ require_once(dirname(__FILE__) . '/includes/block_direct_access.php');
21
  class bcn_breadcrumb_trail
22
  {
23
  //Our member variables
24
- const version = '5.7.0';
25
  //An array of breadcrumbs
26
  public $breadcrumbs = array();
27
  public $trail = array();
@@ -1154,7 +1154,7 @@ class bcn_breadcrumb_trail
1154
  else
1155
  {
1156
  //Only show the separator when necessary
1157
- if($key < count($this->breadcrumbs) - 1)
1158
  {
1159
  $trail_str .= $this->opt['hseparator'];
1160
  }
21
  class bcn_breadcrumb_trail
22
  {
23
  //Our member variables
24
+ const version = '5.7.1';
25
  //An array of breadcrumbs
26
  public $breadcrumbs = array();
27
  public $trail = array();
1154
  else
1155
  {
1156
  //Only show the separator when necessary
1157
+ if($position > 1)
1158
  {
1159
  $trail_str .= $this->opt['hseparator'];
1160
  }
class.bcn_network_admin.php CHANGED
@@ -42,7 +42,7 @@ if(!class_exists('mtekk_adminKit'))
42
  */
43
  class bcn_network_admin extends mtekk_adminKit
44
  {
45
- const version = '5.7.0';
46
  protected $full_name = 'Breadcrumb NavXT Network Settings';
47
  protected $short_name = 'Breadcrumb NavXT';
48
  protected $access_level = 'manage_network_options';
42
  */
43
  class bcn_network_admin extends mtekk_adminKit
44
  {
45
+ const version = '5.7.1';
46
  protected $full_name = 'Breadcrumb NavXT Network Settings';
47
  protected $short_name = 'Breadcrumb NavXT';
48
  protected $access_level = 'manage_network_options';
class.bcn_widget.php CHANGED
@@ -19,7 +19,7 @@
19
  require_once(dirname(__FILE__) . '/includes/block_direct_access.php');
20
  class bcn_widget extends WP_Widget
21
  {
22
- const version = '5.7.0';
23
  protected $defaults = array('title' => '', 'pretext' => '', 'type' => 'microdata', 'linked' => true, 'reverse' => false, 'front' => false, 'force' => false);
24
  //Default constructor
25
  function __construct()
19
  require_once(dirname(__FILE__) . '/includes/block_direct_access.php');
20
  class bcn_widget extends WP_Widget
21
  {
22
+ const version = '5.7.1';
23
  protected $defaults = array('title' => '', 'pretext' => '', 'type' => 'microdata', 'linked' => true, 'reverse' => false, 'front' => false, 'force' => false);
24
  //Default constructor
25
  function __construct()
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: mtekk, hakre
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=FD5XEU783BR8U&lc=US&item_name=Breadcrumb%20NavXT%20Donation&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
4
  Tags: breadcrumb, breadcrumbs, trail, navigation, menu, widget
5
  Requires at least: 4.5
6
- Tested up to: 4.7
7
- Stable tag: 5.7.0
8
  License: GPLv2 or later
9
  Adds breadcrumb navigation showing the visitor's path to their current location.
10
 
@@ -53,6 +53,12 @@ Please visit [Breadcrumb NavXT's Documentation](http://mtekk.us/code/breadcrumb-
53
 
54
  == Changelog ==
55
 
 
 
 
 
 
 
56
  = 5.7.0 =
57
  Release date: April 21st, 2017
58
 
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=FD5XEU783BR8U&lc=US&item_name=Breadcrumb%20NavXT%20Donation&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted
4
  Tags: breadcrumb, breadcrumbs, trail, navigation, menu, widget
5
  Requires at least: 4.5
6
+ Tested up to: 4.8
7
+ Stable tag: 5.7.1
8
  License: GPLv2 or later
9
  Adds breadcrumb navigation showing the visitor's path to their current location.
10
 
53
 
54
  == Changelog ==
55
 
56
+ = 5.7.1 =
57
+ Release date: June 30th, 2017
58
+
59
+ * Bug fix: Fixed erroneous use of `$linked` that caused a PHP warning in `bcn_display_json_ld()`.
60
+ * Bug fix: Fixed issue where removing a breadcrumb from the trail could cause one or more breadcrumb separators to inappropriately disappear.
61
+
62
  = 5.7.0 =
63
  Release date: April 21st, 2017
64