File tree Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " jamesmorrison/display-git-branch" ,
3
3
"description" : " Display Git Branch" ,
4
4
"homepage" : " https://github.com/jamesmorrison/display-git-branch" ,
5
- "version" : " 0.1.0 " ,
5
+ "version" : " 0.1.1 " ,
6
6
"keywords" : [
7
7
" wordpress"
8
8
],
11
11
"authors" : [
12
12
{
13
13
"name" : " James Morrison" ,
14
- "email" : " james@morrison.me " ,
15
- "homepage" : " http ://www.jamesmorrison.me "
14
+ "email" : " james@morrison.uk " ,
15
+ "homepage" : " https ://morrison.uk "
16
16
}
17
17
],
18
18
"support" : {
Original file line number Diff line number Diff line change 3
3
* Plugin Name: Display Git Branch
4
4
* Plugin URI: https://github.com/jamesmorrison/display-git-branch/
5
5
* Description: Shows which Git branch you're working on. Highlights configurable restricted branches in red.
6
- * Version: 0.1.0
6
+ * Version: 0.1.1
7
7
* Author: James Morrison
8
- * Author URI: http ://www.jamesmorrison.me /
8
+ * Author URI: https ://morrison.uk /
9
9
* Text Domain: display-git-branch
10
+ *
11
+ * @package Display_Git_Branch
10
12
**/
11
13
12
14
// Security check
13
15
defined ( 'ABSPATH ' ) || die ();
14
16
15
17
// Useful global constants
16
- define ( 'DISPLAY_GIT_BRANCH_VERSION ' , '0.1.0 ' );
18
+ define ( 'DISPLAY_GIT_BRANCH_VERSION ' , '0.1.1 ' );
17
19
define ( 'DISPLAY_GIT_BRANCH_URL ' , plugin_dir_url ( __FILE__ ) );
18
20
define ( 'DISPLAY_GIT_BRANCH_PATH ' , dirname ( __FILE__ ) . '/ ' );
19
21
define ( 'DISPLAY_GIT_BRANCH_INC ' , DISPLAY_GIT_BRANCH_PATH . 'includes/ ' );
Original file line number Diff line number Diff line change @@ -96,8 +96,9 @@ function restricted_branches() {
96
96
97
97
return apply_filters ( 'display_git_branch_restricted_branches ' ,
98
98
[
99
- 'master ' ,
100
- 'develop ' ,
99
+ 'trunk ' ,
100
+ 'master ' , // WARNING: this will be deprecated in a future release
101
+ 'develop ' , // WARNING: this will be deprecated in a future release
101
102
]
102
103
);
103
104
You can’t perform that action at this time.
0 commit comments