Version Description
Release date: September 30th, 2016
- Bug fix: Fixed issue where the blog breadcrumb setting does not affect the inclusion of the blog breadcrumb in the breadcrumb trail.
Download this release
Release Info
Developer | mtekk |
Plugin | Breadcrumb NavXT |
Version | 5.5.2 |
Comparing to | |
See all releases |
Code changes from version 5.5.1 to 5.5.2
- breadcrumb-navxt.php +2 -2
- class.bcn_admin.php +1 -1
- class.bcn_breadcrumb.php +1 -1
- class.bcn_breadcrumb_trail.php +3 -3
- class.bcn_network_admin.php +1 -1
- class.bcn_widget.php +1 -1
- readme.txt +6 -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'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.5.
|
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.5.
|
64 |
protected $name = 'Breadcrumb NavXT';
|
65 |
protected $identifier = 'breadcrumb-navxt';
|
66 |
protected $unique_prefix = 'bcn';
|
3 |
Plugin Name: Breadcrumb NavXT
|
4 |
Plugin URI: http://mtekk.us/code/breadcrumb-navxt/
|
5 |
Description: Adds a breadcrumb navigation showing the visitor'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.5.2
|
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.5.2';
|
64 |
protected $name = 'Breadcrumb NavXT';
|
65 |
protected $identifier = 'breadcrumb-navxt';
|
66 |
protected $unique_prefix = 'bcn';
|
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.5.
|
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.5.2';
|
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.5.
|
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.5.2';
|
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.5.
|
25 |
//An array of breadcrumbs
|
26 |
public $breadcrumbs = array();
|
27 |
public $trail = array();
|
@@ -234,7 +234,7 @@ class bcn_breadcrumb_trail
|
|
234 |
$bk_req = $_SERVER['REQUEST_URI'];
|
235 |
//Now set the request URL to the referrer URL
|
236 |
//Could just chain the [1] selection, but that's not PHP5.3 compatible
|
237 |
-
$url_split = explode(home_url(), wp_get_referer());
|
238 |
if(isset($url_split[1]))
|
239 |
{
|
240 |
$_SERVER['REQUEST_URI'] = $url_split[1];
|
@@ -879,7 +879,7 @@ class bcn_breadcrumb_trail
|
|
879 |
$type_str = 'page';
|
880 |
$root_id = get_option('page_on_front');
|
881 |
}
|
882 |
-
else
|
883 |
{
|
884 |
$type_str = 'post';
|
885 |
$root_id = get_option('page_for_posts');
|
21 |
class bcn_breadcrumb_trail
|
22 |
{
|
23 |
//Our member variables
|
24 |
+
const version = '5.5.2';
|
25 |
//An array of breadcrumbs
|
26 |
public $breadcrumbs = array();
|
27 |
public $trail = array();
|
234 |
$bk_req = $_SERVER['REQUEST_URI'];
|
235 |
//Now set the request URL to the referrer URL
|
236 |
//Could just chain the [1] selection, but that's not PHP5.3 compatible
|
237 |
+
$url_split = explode(home_url(), esc_url(wp_get_referer()));
|
238 |
if(isset($url_split[1]))
|
239 |
{
|
240 |
$_SERVER['REQUEST_URI'] = $url_split[1];
|
879 |
$type_str = 'page';
|
880 |
$root_id = get_option('page_on_front');
|
881 |
}
|
882 |
+
else if($this->opt['bblog_display'] || is_home())
|
883 |
{
|
884 |
$type_str = 'post';
|
885 |
$root_id = get_option('page_for_posts');
|
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.5.
|
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.5.2';
|
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.5.
|
23 |
protected $defaults = array('title' => '', 'pretext' => '', 'type' => 'microdata', 'linked' => true, 'reverse' => false, 'front' => 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.5.2';
|
23 |
protected $defaults = array('title' => '', 'pretext' => '', 'type' => 'microdata', 'linked' => true, 'reverse' => false, 'front' => false);
|
24 |
//Default constructor
|
25 |
function __construct()
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=FD5XE
|
|
4 |
Tags: breadcrumb, breadcrumbs, trail, navigation, menu, widget
|
5 |
Requires at least: 4.4
|
6 |
Tested up to: 4.6
|
7 |
-
Stable tag: 5.5.
|
8 |
License: GPLv2 or later
|
9 |
Adds breadcrumb navigation showing the visitor's path to their current location.
|
10 |
|
@@ -53,6 +53,11 @@ Please visit [Breadcrumb NavXT's Documentation](http://mtekk.us/code/breadcrumb-
|
|
53 |
|
54 |
== Changelog ==
|
55 |
|
|
|
|
|
|
|
|
|
|
|
56 |
= 5.5.1 =
|
57 |
Release date: August 13th, 2016
|
58 |
|
4 |
Tags: breadcrumb, breadcrumbs, trail, navigation, menu, widget
|
5 |
Requires at least: 4.4
|
6 |
Tested up to: 4.6
|
7 |
+
Stable tag: 5.5.2
|
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.5.2 =
|
57 |
+
Release date: September 30th, 2016
|
58 |
+
|
59 |
+
* Bug fix: Fixed issue where the “blog breadcrumb” setting does not affect the inclusion of the blog breadcrumb in the breadcrumb trail.
|
60 |
+
|
61 |
= 5.5.1 =
|
62 |
Release date: August 13th, 2016
|
63 |
|