diff --git a/CHANGELOG.md b/CHANGELOG.md index 8610cd2..e1c6a7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ #CHANGELOG +## [3.0.0] + +- Fix untranslated string in fallback. +- Instruct screenreaders to ignore icons when present. +- Added basic unit tests and travis config. +- Swapped to IF statements with curly braces. +- Adds `$depth` arg for nav_menu_css_class filter. +- Fix sanitization function used for class output in fallback. +- Changed composer package type to `library` from `wordpress-plugin`. + ## [2.0.5] - 2016-011-15 - Fixed all reported issues by WP Enforcer. diff --git a/README.md b/README.md index c542a61..3e8e02b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ [![Code Coverage](https://scrutinizer-ci.com/g/wp-bootstrap/wp-bootstrap-navwalker/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/wp-bootstrap/wp-bootstrap-navwalker/?branch=master) [![Build Status](https://scrutinizer-ci.com/g/wp-bootstrap/wp-bootstrap-navwalker/badges/build.png?b=master)](https://scrutinizer-ci.com/g/wp-bootstrap/wp-bootstrap-navwalker/build-status/master) -A custom WordPress nav walker class to fully implement the Bootstrap 3.0+ navigation style in a custom theme using the WordPress built in menu manager. +A custom WordPress nav walker class to fully implement the Bootstrap 3.0+ navigation style in a custom theme using the WordPress built in menu manager. A working version of the walker for Bootstrap 4.0.0 can be found in the [`v4` branch](https://github.com/wp-bootstrap/wp-bootstrap-navwalker/tree/v4) ## NOTES @@ -16,11 +16,7 @@ This is a utility class that is intended to format your WordPress theme menu wit ### Bootstrap 4 -Bootstrap 4 beta is available and is now the default branch offered at the GitHub repo and on [GetBootstrap](https://getbootstrap.com). A working version of the walker for Bootstrap 4 can be found in the `v4` branch. - -Acording to @mdo & team: - -> Long story short, shipping a beta means we’re done breaking all your stuff until our next major version (v5). +Bootstrap 4.0.0 released January 2018 and is the default branch offered at the GitHub repo and on [GetBootstrap](https://getbootstrap.com). ## Installation diff --git a/composer.json b/composer.json index bacff87..940c1a5 100644 --- a/composer.json +++ b/composer.json @@ -1,13 +1,21 @@ { "name": "wp-bootstrap/wp-bootstrap-navwalker", "description": "A custom WordPress nav walker class to fully implement the Bootstrap 3.0+ navigation style in a custom theme using the WordPress built in menu manager.", - "type": "wordpress-plugin", + "type": "library", "license": "GPL-3.0+", "authors": [ { "name": "Brandon Hubbard" - } + }, + { + "name": "William Patton", + "email": "will@pattonwebz.com" + } ], + "support": { + "issues": "https://github.com/wp-bootstrap/wp-bootstrap-navwalker/issues/", + "source": "https://github.com/wp-bootstrap/wp-bootstrap-navwalker/" + }, "require": { "composer/installers": "~1.0" }, diff --git a/wp-bootstrap-navwalker.php b/wp-bootstrap-navwalker.php index 56f96cc..88ff1ee 100644 --- a/wp-bootstrap-navwalker.php +++ b/wp-bootstrap-navwalker.php @@ -10,8 +10,8 @@ * Plugin Name: WP Bootstrap Navwalker * Plugin URI: https://github.com/wp-bootstrap/wp-bootstrap-navwalker * Description: A custom WordPress nav walker class to implement the Bootstrap 3 navigation style in a custom theme using the WordPress built in menu manager. - * Author: Edward McIntyre - @twittem, WP Bootstrap - * Version: 2.0.5 + * Author: Edward McIntyre - @twittem, WP Bootstrap, William Patton - @pattonwebz + * Version: 3.0.0 * Author URI: https://github.com/wp-bootstrap * GitHub Plugin URI: https://github.com/wp-bootstrap/wp-bootstrap-navwalker * GitHub Branch: master