From f281dd4bda411b0721d5d072cb88b07a680a7c00 Mon Sep 17 00:00:00 2001 From: William Patton Date: Tue, 10 Oct 2017 15:23:56 +0100 Subject: [PATCH 1/3] Update: composer type changed from `wordpress-plugin` to `library`. --- composer.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index f91bf90..7b56fda 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" }, From d84220a0affbaf9d7555f0afb11ec550ef6b5811 Mon Sep 17 00:00:00 2001 From: William Patton Date: Tue, 10 Oct 2017 15:25:47 +0100 Subject: [PATCH 2/3] Version bump to 3.0.0 --- CHANGELOG.md | 4 ++++ wp-bootstrap-navwalker.php | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8610cd2..66e1b1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ #CHANGELOG +## [3.0.0] + +- 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/wp-bootstrap-navwalker.php b/wp-bootstrap-navwalker.php index a0c660d..09ee7ae 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 From c98c66939a6e3ec718823c7a232d1a779d4c010b Mon Sep 17 00:00:00 2001 From: William Patton Date: Sat, 20 Jan 2018 23:08:05 +0000 Subject: [PATCH 3/3] Version bump to 3.0.0 and changelog update. --- CHANGELOG.md | 9 +++++++++ README.md | 8 ++------ wp-bootstrap-navwalker.php | 4 ++-- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8610cd2..67c1908 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ #CHANGELOG +## [3.0.0] - Between Nov 2016 - Dec 2017 + +- 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. + ## [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/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