Breadcrumb NavXT - Version 3.8.1

Version Description

  • Bug fix: Root pages for custom post types should work again.
  • Bug fix: The post_post_root and post_page_root not being saved warning when saving settings should be fixed.
Download this release

Release Info

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

Code changes from version 3.8.0 to 3.8.1

breadcrumb_navxt_admin.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: 3.8.0
7
  Author: John Havlik
8
  Author URI: http://mtekk.us/
9
  */
@@ -54,7 +54,7 @@ class bcn_admin extends mtekk_admin
54
  *
55
  * @var string
56
  */
57
- protected $version = '3.8.0';
58
  protected $full_name = 'Breadcrumb NavXT Settings';
59
  protected $short_name = 'Breadcrumb NavXT';
60
  protected $access_level = 'manage_options';
@@ -245,6 +245,12 @@ class bcn_admin extends mtekk_admin
245
  }
246
  }
247
  }
 
 
 
 
 
 
248
  //Save the passed in opts to the object's option array
249
  $this->opt = $opts;
250
  }
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: 3.8.1
7
  Author: John Havlik
8
  Author URI: http://mtekk.us/
9
  */
54
  *
55
  * @var string
56
  */
57
+ protected $version = '3.8.1';
58
  protected $full_name = 'Breadcrumb NavXT Settings';
59
  protected $short_name = 'Breadcrumb NavXT';
60
  protected $access_level = 'manage_options';
245
  }
246
  }
247
  }
248
+ //Upgrading to 3.8.1
249
+ if(version_compare($version, '3.8.1', '<'))
250
+ {
251
+ $opts['post_page_root'] = get_option('page_on_front');
252
+ $opts['post_post_root'] = get_option('page_for_posts');
253
+ }
254
  //Save the passed in opts to the object's option array
255
  $this->opt = $opts;
256
  }
breadcrumb_navxt_class.php CHANGED
@@ -188,7 +188,7 @@ class bcn_breadcrumb
188
  class bcn_breadcrumb_trail
189
  {
190
  //Our member variables
191
- public $version = '3.8.0';
192
  //An array of breadcrumbs
193
  public $trail = array();
194
  //The options
@@ -723,7 +723,7 @@ class bcn_breadcrumb_trail
723
  function is_builtin($post_type)
724
  {
725
  $type = get_post_type_object($post_type);
726
- return isset($type->_builtin);
727
  }
728
  /**
729
  * A Breadcrumb Trail Filling Function
188
  class bcn_breadcrumb_trail
189
  {
190
  //Our member variables
191
+ public $version = '3.8.1';
192
  //An array of breadcrumbs
193
  public $trail = array();
194
  //The options
723
  function is_builtin($post_type)
724
  {
725
  $type = get_post_type_object($post_type);
726
+ return $type->_builtin;
727
  }
728
  /**
729
  * A Breadcrumb Trail Filling Function
languages/breadcrumb_navxt-fr_FR.mo CHANGED
Binary file
languages/breadcrumb_navxt-fr_FR.po CHANGED
@@ -289,11 +289,11 @@ msgstr "Modèle de l'ancre pour l'élement origine du fil d'ariane."
289
 
290
  #: breadcrumb_navxt_admin.php:482
291
  msgid "Blog Breadcrumb"
292
- msgstr "Fil d'ariane du site"
293
 
294
  #: breadcrumb_navxt_admin.php:482
295
  msgid "Place the blog breadcrumb in the trail."
296
- msgstr "Mettre le fil d'ariane du site en route. "
297
 
298
  #: breadcrumb_navxt_admin.php:483
299
  msgid "Blog Anchor"
@@ -301,7 +301,7 @@ msgstr "Ancre pour le blog"
301
 
302
  #: breadcrumb_navxt_admin.php:483
303
  msgid "The anchor template for the blog breadcrumb, used only in static front page environments."
304
- msgstr "Modèle de l'ancre pour le fil d'ariane, utilisé uniquement quand l'accueil est une page statique."
305
 
306
  #: breadcrumb_navxt_admin.php:487
307
  msgid "Main Site Breadcrumb"
@@ -699,7 +699,7 @@ msgstr "Sauvegarder les changements"
699
 
700
  #: breadcrumb_navxt_class.php:217
701
  msgid "Blog"
702
- msgstr "Accueil"
703
 
704
  #: breadcrumb_navxt_class.php:236
705
  msgid "<a title=\"Reload the current page.\" href=\"%link%\">"
289
 
290
  #: breadcrumb_navxt_admin.php:482
291
  msgid "Blog Breadcrumb"
292
+ msgstr "Fil d'ariane du blog"
293
 
294
  #: breadcrumb_navxt_admin.php:482
295
  msgid "Place the blog breadcrumb in the trail."
296
+ msgstr "Mettre le fil d'ariane du blog en route. "
297
 
298
  #: breadcrumb_navxt_admin.php:483
299
  msgid "Blog Anchor"
301
 
302
  #: breadcrumb_navxt_admin.php:483
303
  msgid "The anchor template for the blog breadcrumb, used only in static front page environments."
304
+ msgstr "Modèle de l'ancre pour le fil d'ariane du blog, utilisé uniquement quand l'accueil est une page statique."
305
 
306
  #: breadcrumb_navxt_admin.php:487
307
  msgid "Main Site Breadcrumb"
699
 
700
  #: breadcrumb_navxt_class.php:217
701
  msgid "Blog"
702
+ msgstr "Blog"
703
 
704
  #: breadcrumb_navxt_class.php:236
705
  msgid "<a title=\"Reload the current page.\" href=\"%link%\">"
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: 3.0
6
  Tested up to: 3.1
7
- Stable tag: 3.8.0
8
  Adds breadcrumb navigation showing the visitor's path to their current location.
9
 
10
  == Description ==
@@ -33,24 +33,27 @@ Don't see your language on the list? Feel free to translate Breadcrumb NavXT and
33
  Please visit [Breadcrumb NavXT's](http://mtekk.us/code/breadcrumb-navxt/#installation "Go to Breadcrumb NavXT's project page's installation section.") project page for installation and usage instructions.
34
 
35
  == Changelog ==
 
 
 
36
  = 3.8.0 =
37
  * New feature: Error reporting added for some errors that may occur during a settings save.
38
  * New feature: Custom post types may use dates as their taxonomy type.
39
- * New feature: New display_nested function to facilitate support for Googles Breadcrumbs RDFa and Microformat.
40
  * New feature: Paged display works for all post types now (was previously restricted to archives).
41
  * Bug fix: Fixed a few cases where Breadcrumb NavXT may cause PHP warnings.
42
  * Bug fix: Automatically deactivates if PHP version is tool old rather than just displaying warning message.
43
  * Bug fix: Custom post types that are not associated with any taxonomies no longer cause PHP Notices.
44
  * Bug fix: Various PHP Notices introduced in 3.7.0 were fixed.
45
  * Bug fix: Fixed issue where multiple runs caused the current_item_prefix and current_item_suffix to be applied multiple times.
46
- * Bug fix: The included display functions will behave more appropriately when database settings dont exist.
47
  * Bug fix: Fixed multibyte UTF-8 character support for custom taxonomies.
48
  * Bug fix: Fixed issue where the widget (Appearance > Widgets) would not load the appropriate translations.
49
  = 3.7.0 =
50
  * New feature: Support for �global�/network wide breadcrumb trails in networked setups of WordPress 3.0.
51
  * New feature: Can use any hierarchical post type as a hierarchy for flat post types.
52
  * New feature: Users are now warned if settings are out of date, allowed to do a one click settings migration.
53
- * New feature: Users can now control if a post type uses the �posts page� in its hierarchy or not.
54
  * Bug fix: Breadcrumb trails for attachments work properly now for custom post types.
55
  * Bug fix: Users can now set custom post types to have a page hierarchy through the settings page.
56
  * Bug fix: Fixed issues where the PHP version check did not work correctly.
4
  Tags: breadcrumb, breadcrumbs, trail, navigation, menu, widget
5
  Requires at least: 3.0
6
  Tested up to: 3.1
7
+ Stable tag: 3.8.1
8
  Adds breadcrumb navigation showing the visitor's path to their current location.
9
 
10
  == Description ==
33
  Please visit [Breadcrumb NavXT's](http://mtekk.us/code/breadcrumb-navxt/#installation "Go to Breadcrumb NavXT's project page's installation section.") project page for installation and usage instructions.
34
 
35
  == Changelog ==
36
+ = 3.8.1 =
37
+ * Bug fix: Root pages for custom post types should work again.
38
+ * Bug fix: The post_post_root and post_page_root not being saved warning when saving settings should be fixed.
39
  = 3.8.0 =
40
  * New feature: Error reporting added for some errors that may occur during a settings save.
41
  * New feature: Custom post types may use dates as their taxonomy type.
42
+ * New feature: New display_nested function to facilitate support for Google's Breadcrumbs RDFa and Microformat.
43
  * New feature: Paged display works for all post types now (was previously restricted to archives).
44
  * Bug fix: Fixed a few cases where Breadcrumb NavXT may cause PHP warnings.
45
  * Bug fix: Automatically deactivates if PHP version is tool old rather than just displaying warning message.
46
  * Bug fix: Custom post types that are not associated with any taxonomies no longer cause PHP Notices.
47
  * Bug fix: Various PHP Notices introduced in 3.7.0 were fixed.
48
  * Bug fix: Fixed issue where multiple runs caused the current_item_prefix and current_item_suffix to be applied multiple times.
49
+ * Bug fix: The included display functions will behave more appropriately when database settings don't exist.
50
  * Bug fix: Fixed multibyte UTF-8 character support for custom taxonomies.
51
  * Bug fix: Fixed issue where the widget (Appearance > Widgets) would not load the appropriate translations.
52
  = 3.7.0 =
53
  * New feature: Support for �global�/network wide breadcrumb trails in networked setups of WordPress 3.0.
54
  * New feature: Can use any hierarchical post type as a hierarchy for flat post types.
55
  * New feature: Users are now warned if settings are out of date, allowed to do a one click settings migration.
56
+ * New feature: Users can now control if a post type uses the �posts page� in it's hierarchy or not.
57
  * Bug fix: Breadcrumb trails for attachments work properly now for custom post types.
58
  * Bug fix: Users can now set custom post types to have a page hierarchy through the settings page.
59
  * Bug fix: Fixed issues where the PHP version check did not work correctly.