Genesis Simple Sidebars - Version 2.2.2

Version Description

  • Fix overlapping of sidebar selector in editor.
Download this release

Release Info

Developer studiopress
Plugin Icon 128x128 Genesis Simple Sidebars
Version 2.2.2
Comparing to
See all releases

Code changes from version 2.2.1 to 2.2.2

.circleci/config.yml CHANGED
@@ -1,22 +1,174 @@
1
  version: 2.1
2
 
3
- jobs:
4
- test:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  docker:
6
  - image: circleci/php:7.3.3-stretch-node-browsers
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  steps:
8
- - checkout
9
- - prepare-environment
 
10
  - run: composer phpcs
11
 
12
- commands:
13
- prepare-environment:
14
- description: "Install dependencies."
15
- steps:
16
- - run: composer install
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
 
18
  workflows:
19
  version: 2
20
- check-wp-cs:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  jobs:
22
- - test
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  version: 2.1
2
 
3
+ commands:
4
+ install_dependencies:
5
+ description: "Install development dependencies."
6
+ steps:
7
+ - run: composer install
8
+
9
+ mkdir_artifacts:
10
+ description: "Make Artifacts directory"
11
+ steps:
12
+ - run:
13
+ command: |
14
+ [ ! -d "/tmp/artifacts" ] && mkdir /tmp/artifacts &>/dev/null
15
+
16
+ set_verision_variable:
17
+ description: "Set the VERSION environment variable"
18
+ steps:
19
+ - run:
20
+ command: |
21
+ echo "export VERSION=$(grep 'Version:' /tmp/src/plugin.php | awk -F: '{print $2}' | sed 's/^\s//')" >> ${BASH_ENV}
22
+
23
+ show_pwd_info:
24
+ description: "Show information about the current directory"
25
+ steps:
26
+ - run: pwd
27
+ - run: ls -lash
28
+
29
+ svn_setup:
30
+ description: "Setup SVN"
31
+ steps:
32
+ - run: echo "export SLUG=$(grep '@package' /tmp/src/plugin.php | awk -F ' ' '{print $3}' | sed 's/^\s//')" >> ${BASH_ENV}
33
+ - run: svn co https://plugins.svn.wordpress.org/${SLUG} --depth=empty .
34
+ - run: svn up trunk
35
+ - run: svn up tags --depth=empty
36
+ - run: find ./trunk -not -path "./trunk" -delete
37
+ - run: cp -r /tmp/src/. ./trunk
38
+ - run: svn propset svn:ignore -F ./trunk/.svnignore ./trunk
39
+
40
+ svn_add_changes:
41
+ description: "Add changes to SVN"
42
+ steps:
43
+ - run:
44
+ command: if [[ ! -z $(svn st | grep ^\!) ]]; then svn st | grep ^! | awk '{print " --force "$2}' | xargs -0r svn rm; fi
45
+ - run: svn add --force .
46
+
47
+ svn_create_tag:
48
+ description: "Create a SVN tag"
49
+ steps:
50
+ - set_verision_variable
51
+ - run: svn cp trunk tags/${VERSION}
52
+
53
+ svn_commit:
54
+ description: "Commit changes to SVN"
55
+ steps:
56
+ - set_verision_variable
57
+ - run: svn ci -m "Tagging ${VERSION} from Github" --no-auth-cache --non-interactive --username "${SVN_USERNAME}" --password "${SVN_PASSWORD}"
58
+
59
+ executors:
60
+ base:
61
+ docker:
62
+ - image: circleci/buildpack-deps:latest
63
+ working_directory: /tmp
64
+ php_node:
65
  docker:
66
  - image: circleci/php:7.3.3-stretch-node-browsers
67
+ working_directory: /tmp/src
68
+
69
+ jobs:
70
+ checkout:
71
+ executor: base
72
+ steps:
73
+ - mkdir_artifacts
74
+ - checkout:
75
+ path: src
76
+ - persist_to_workspace:
77
+ root: /tmp
78
+ paths:
79
+ - src
80
+
81
+ checks:
82
+ executor: php_node
83
  steps:
84
+ - attach_workspace:
85
+ at: /tmp
86
+ - install_dependencies
87
  - run: composer phpcs
88
 
89
+ deploy_svn_branch:
90
+ executor: base
91
+ working_directory: /tmp/artifacts
92
+ steps:
93
+ - attach_workspace:
94
+ at: /tmp
95
+ - svn_setup
96
+ - svn_add_changes
97
+ - svn_commit
98
+
99
+ deploy_svn_tag:
100
+ executor: base
101
+ working_directory: /tmp/artifacts
102
+ steps:
103
+ - attach_workspace:
104
+ at: /tmp
105
+ - svn_setup
106
+ - svn_create_tag
107
+ - svn_add_changes
108
+ - svn_commit
109
 
110
  workflows:
111
  version: 2
112
+ checks:
113
+ jobs:
114
+ - checkout:
115
+ filters:
116
+ branches:
117
+ ignore:
118
+ - master
119
+ - checks:
120
+ requires:
121
+ - checkout
122
+ filters:
123
+ branches:
124
+ ignore:
125
+ - master
126
+
127
+ branch_deploy:
128
+ jobs:
129
+ - checkout:
130
+ filters:
131
+ branches:
132
+ only:
133
+ - master
134
+ - checks:
135
+ requires:
136
+ - checkout
137
+ filters:
138
+ branches:
139
+ only:
140
+ - master
141
+ - deploy_svn_branch:
142
+ context: genesis-svn
143
+ requires:
144
+ - checks
145
+ filters:
146
+ branches:
147
+ only:
148
+ - master
149
+
150
+ tag_deploy:
151
  jobs:
152
+ - checkout:
153
+ filters:
154
+ tags:
155
+ only: /^\d+\.\d+\.\d+$/
156
+ branches:
157
+ ignore: /.*/
158
+ - checks:
159
+ requires:
160
+ - checkout
161
+ filters:
162
+ tags:
163
+ only: /^\d+\.\d+\.\d+$/
164
+ branches:
165
+ ignore: /.*/
166
+ - deploy_svn_tag:
167
+ context: genesis-svn
168
+ requires:
169
+ - checks
170
+ filters:
171
+ tags:
172
+ only: /^\d+\.\d+\.\d+$/
173
+ branches:
174
+ ignore: /.*/
genesis-simple-sidebars.php CHANGED
@@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  }
15
 
16
  define( 'GENESIS_SIMPLE_SIDEBARS_SETTINGS_FIELD', 'genesis_simple_sidebars_settings' );
17
- define( 'GENESIS_SIMPLE_SIDEBARS_VERSION', '2.2.1' );
18
  define( 'GENESIS_SIMPLE_SIDEBARS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
19
  define( 'GENESIS_SIMPLE_SIDEBARS_PLUGIN_URL', plugins_url( '', __FILE__ ) );
20
 
14
  }
15
 
16
  define( 'GENESIS_SIMPLE_SIDEBARS_SETTINGS_FIELD', 'genesis_simple_sidebars_settings' );
17
+ define( 'GENESIS_SIMPLE_SIDEBARS_VERSION', '2.2.2' );
18
  define( 'GENESIS_SIMPLE_SIDEBARS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
19
  define( 'GENESIS_SIMPLE_SIDEBARS_PLUGIN_URL', plugins_url( '', __FILE__ ) );
20
 
includes/views/entry-metabox-content.php CHANGED
@@ -12,7 +12,7 @@ wp_nonce_field( 'genesis-simple-sidebars-save-entry', 'genesis-simple-sidebars-s
12
  if ( is_registered_sidebar( 'header-right' ) ) : ?>
13
  <p>
14
  <label class="howto" for="genesis_simple_sidebars[_ss_header]"><span><?php echo esc_attr( $wp_registered_sidebars['header-right']['name'] ); ?><span></label>
15
- <select name="genesis_simple_sidebars[_ss_header]" id="genesis_simple_sidebars[_ss_header]" style="width: 99%">
16
  <option value=""><?php esc_html_e( 'Default', 'genesis-simple-sidebars' ); ?></option>
17
  <?php
18
  foreach ( (array) $sidebars as $sidebar_id => $info ) {
@@ -28,7 +28,7 @@ if ( is_registered_sidebar( 'sidebar' ) ) :
28
  ?>
29
  <p>
30
  <label class="howto" for="genesis_simple_sidebars[_ss_sidebar]"><span><?php echo esc_attr( $wp_registered_sidebars['sidebar']['name'] ); ?><span></label>
31
- <select name="genesis_simple_sidebars[_ss_sidebar]" id="genesis_simple_sidebars[_ss_sidebar]" style="width: 99%">
32
  <option value=""><?php esc_html_e( 'Default', 'genesis-simple-sidebars' ); ?></option>
33
  <?php
34
  foreach ( (array) $sidebars as $sidebar_id => $info ) {
@@ -44,7 +44,7 @@ if ( is_registered_sidebar( 'sidebar-alt' ) ) :
44
  ?>
45
  <p>
46
  <label class="howto" for="genesis_simple_sidebars[_ss_sidebar_alt]"><span><?php echo esc_attr( $wp_registered_sidebars['sidebar-alt']['name'] ); ?><span></label>
47
- <select name="genesis_simple_sidebars[_ss_sidebar_alt]" id="genesis_simple_sidebars[_ss_sidebar_alt]" style="width: 99%">
48
  <option value=""><?php esc_html_e( 'Default', 'genesis-simple-sidebars' ); ?></option>
49
  <?php
50
  foreach ( (array) $sidebars as $sidebar_id => $info ) {
12
  if ( is_registered_sidebar( 'header-right' ) ) : ?>
13
  <p>
14
  <label class="howto" for="genesis_simple_sidebars[_ss_header]"><span><?php echo esc_attr( $wp_registered_sidebars['header-right']['name'] ); ?><span></label>
15
+ <select name="genesis_simple_sidebars[_ss_header]" id="genesis_simple_sidebars[_ss_header]">
16
  <option value=""><?php esc_html_e( 'Default', 'genesis-simple-sidebars' ); ?></option>
17
  <?php
18
  foreach ( (array) $sidebars as $sidebar_id => $info ) {
28
  ?>
29
  <p>
30
  <label class="howto" for="genesis_simple_sidebars[_ss_sidebar]"><span><?php echo esc_attr( $wp_registered_sidebars['sidebar']['name'] ); ?><span></label>
31
+ <select name="genesis_simple_sidebars[_ss_sidebar]" id="genesis_simple_sidebars[_ss_sidebar]">
32
  <option value=""><?php esc_html_e( 'Default', 'genesis-simple-sidebars' ); ?></option>
33
  <?php
34
  foreach ( (array) $sidebars as $sidebar_id => $info ) {
44
  ?>
45
  <p>
46
  <label class="howto" for="genesis_simple_sidebars[_ss_sidebar_alt]"><span><?php echo esc_attr( $wp_registered_sidebars['sidebar-alt']['name'] ); ?><span></label>
47
+ <select name="genesis_simple_sidebars[_ss_sidebar_alt]" id="genesis_simple_sidebars[_ss_sidebar_alt]">
48
  <option value=""><?php esc_html_e( 'Default', 'genesis-simple-sidebars' ); ?></option>
49
  <?php
50
  foreach ( (array) $sidebars as $sidebar_id => $info ) {
package.json CHANGED
@@ -29,7 +29,7 @@
29
  "description": "Genesis Simple Sidebars allows you to easily create and use new sidebar widget areas.",
30
  "author": "StudioPress",
31
  "authoruri": "http://www.studiopress.com/",
32
- "version": "2.2.1",
33
  "license": "GPL-2.0+",
34
  "licenseuri": "http://www.gnu.org/licenses/gpl-2.0.html",
35
  "textdomain": "genesis-simple-sidebars"
29
  "description": "Genesis Simple Sidebars allows you to easily create and use new sidebar widget areas.",
30
  "author": "StudioPress",
31
  "authoruri": "http://www.studiopress.com/",
32
+ "version": "2.2.2",
33
  "license": "GPL-2.0+",
34
  "licenseuri": "http://www.gnu.org/licenses/gpl-2.0.html",
35
  "textdomain": "genesis-simple-sidebars"
plugin.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Genesis Simple Sidebars
4
  * Plugin URI: https://github.com/studiopress/genesis-simple-sidebars
5
  * Description: Genesis Simple Sidebars allows you to easily create and use new sidebar widget areas.
6
- * Version: 2.2.1
7
  * Author: StudioPress
8
  * Author URI: https://www.studiopress.com/
9
  * License: GNU General Public License v2.0 (or later)
3
  * Plugin Name: Genesis Simple Sidebars
4
  * Plugin URI: https://github.com/studiopress/genesis-simple-sidebars
5
  * Description: Genesis Simple Sidebars allows you to easily create and use new sidebar widget areas.
6
+ * Version: 2.2.2
7
  * Author: StudioPress
8
  * Author URI: https://www.studiopress.com/
9
  * License: GNU General Public License v2.0 (or later)
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: nathanrice, wpmuguru, marksabbath
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5553118
4
  Tags: hooks, genesis, genesiswp, studiopress
5
  Requires at least: 4.7.3
6
- Tested up to: 5.2.2
7
- Stable tag: 2.2.1
8
 
9
  This plugin allows you to create multiple, dynamic widget areas, and assign those widget areas to sidebar locations within the Genesis Framework on a per post, per page, or per tag/category archive basis.
10
 
@@ -37,6 +37,10 @@ Not in the way you're probably thinking. The markup surrounding the widget area
37
 
38
  == Changelog ==
39
 
 
 
 
 
40
  = 2.2.1 =
41
  * Allow sidebars to show in the WordPress Posts page.
42
 
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5553118
4
  Tags: hooks, genesis, genesiswp, studiopress
5
  Requires at least: 4.7.3
6
+ Tested up to: 5.4
7
+ Stable tag: 2.2.2
8
 
9
  This plugin allows you to create multiple, dynamic widget areas, and assign those widget areas to sidebar locations within the Genesis Framework on a per post, per page, or per tag/category archive basis.
10
 
37
 
38
  == Changelog ==
39
 
40
+
41
+ = 2.2.2 =
42
+ * Fix overlapping of sidebar selector in editor.
43
+
44
  = 2.2.1 =
45
  * Allow sidebars to show in the WordPress Posts page.
46