Skip to content

Commit c8bffa5

Browse files
authored
Merge pull request #20 from wearerequired/19-release-2.1
Version 2.1.0 release
2 parents 5333b67 + 504af88 commit c8bffa5

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
### 2.1.0: March 29th, 2019
2+
* Add CSS class for current environment to top menu item
3+
* Fix Admin Bar menu visibility logic from 'and' to 'or' condition
4+
* Remove jwage/purl dependency
5+
16
### 2.0.0: February 10th, 2016
27
* Rewrite plugin, require Composer
38

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ If you use [Bedrock](https://github.com/roots/bedrock), `WP_ENV` is already defi
3636
This plugin must be installed via Composer. Add wp-stage-switcher to your project's dependencies:
3737

3838
```sh
39-
composer require roots/wp-stage-switcher 2.0.0
39+
composer require roots/wp-stage-switcher
4040
```
4141

4242
Or manually add it to your `composer.json`:
@@ -45,7 +45,7 @@ Or manually add it to your `composer.json`:
4545
"require": {
4646
"php": ">=5.4.0",
4747
"wordpress": "4.4.2",
48-
"roots/wp-stage-switcher": "2.0.0"
48+
"roots/wp-stage-switcher": "~2.0"
4949
}
5050
```
5151

wp-stage-switcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Plugin Name: Stage Switcher
44
Plugin URI: https://roots.io/plugins/stage-switcher/
55
Description: A WordPress plugin that allows you to switch between different environments from the admin bar.
6-
Version: 2.0.0
6+
Version: 2.1.0
77
Author: Roots
88
Author URI: https://roots.io/
99
License: MIT License

0 commit comments

Comments
 (0)