Genesis Simple Edits - Version 2.3.1

Version Description

  • Fixed admin fields on tablets.
Download this release

Release Info

Developer studiopress
Plugin Icon 128x128 Genesis Simple Edits
Version 2.3.1
Comparing to
See all releases

Code changes from version 2.3.0 to 2.3.1

.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-edits.php CHANGED
@@ -7,7 +7,7 @@
7
 
8
  define( 'GENESIS_SIMPLE_EDITS_DIR', plugin_dir_path( __FILE__ ) );
9
  define( 'GENESIS_SIMPLE_EDITS_URL', plugins_url( '', __FILE__ ) );
10
- define( 'GENESIS_SIMPLE_EDITS_VERSION', '2.3.0' );
11
 
12
  require_once GENESIS_SIMPLE_EDITS_DIR . '/includes/class-genesis-simple-edits.php';
13
 
7
 
8
  define( 'GENESIS_SIMPLE_EDITS_DIR', plugin_dir_path( __FILE__ ) );
9
  define( 'GENESIS_SIMPLE_EDITS_URL', plugins_url( '', __FILE__ ) );
10
+ define( 'GENESIS_SIMPLE_EDITS_VERSION', '2.3.1' );
11
 
12
  require_once GENESIS_SIMPLE_EDITS_DIR . '/includes/class-genesis-simple-edits.php';
13
 
includes/views/admin.php CHANGED
@@ -11,14 +11,14 @@
11
  <tr>
12
  <th scope="row"><p><label for="<?php $this->field_id( 'post_info' ); ?>"><b><?php esc_html_e( 'Entry Meta (above content)', 'genesis-simple-edits' ); ?></b></label></p></th>
13
  <td>
14
- <p><input type="text" name="<?php $this->field_name( 'post_info' ); ?>" id="<?php $this->field_id( 'post_info' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'post_info' ) ); ?>" size="125" /></p>
15
  </td>
16
  </tr>
17
 
18
  <tr>
19
  <th scope="row"><p><label for="<?php $this->field_id( 'post_meta' ); ?>"><b><?php esc_html_e( 'Entry Meta (below content)', 'genesis-simple-edits' ); ?></b></label></p></th>
20
  <td>
21
- <p><input type="text" name="<?php $this->field_name( 'post_meta' ); ?>" id="<?php $this->field_id( 'post_meta' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'post_meta' ) ); ?>" size="125" /></p>
22
 
23
  <p><small><a class="post-shortcodes-toggle" href="#"><?php esc_html_e( 'Show available entry meta shortcodes', 'genesis-simple-edits' ); ?></a></small></p>
24
 
11
  <tr>
12
  <th scope="row"><p><label for="<?php $this->field_id( 'post_info' ); ?>"><b><?php esc_html_e( 'Entry Meta (above content)', 'genesis-simple-edits' ); ?></b></label></p></th>
13
  <td>
14
+ <p><input type="text" class="regular-text" name="<?php $this->field_name( 'post_info' ); ?>" id="<?php $this->field_id( 'post_info' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'post_info' ) ); ?>" /></p>
15
  </td>
16
  </tr>
17
 
18
  <tr>
19
  <th scope="row"><p><label for="<?php $this->field_id( 'post_meta' ); ?>"><b><?php esc_html_e( 'Entry Meta (below content)', 'genesis-simple-edits' ); ?></b></label></p></th>
20
  <td>
21
+ <p><input type="text" class="regular-text" name="<?php $this->field_name( 'post_meta' ); ?>" id="<?php $this->field_id( 'post_meta' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'post_meta' ) ); ?>" /></p>
22
 
23
  <p><small><a class="post-shortcodes-toggle" href="#"><?php esc_html_e( 'Show available entry meta shortcodes', 'genesis-simple-edits' ); ?></a></small></p>
24
 
plugin.php CHANGED
@@ -7,10 +7,7 @@
7
  * Author: StudioPress
8
  * Author URI: https://www.studiopress.com/
9
  *
10
- * Version: 2.3.0
11
- *
12
- * Requires at least: 5.0.0
13
- * Requires PHP: 5.6
14
  *
15
  * Requires at least: 5.0.0
16
  * Requires PHP: 5.6
7
  * Author: StudioPress
8
  * Author URI: https://www.studiopress.com/
9
  *
10
+ * Version: 2.3.1
 
 
 
11
  *
12
  * Requires at least: 5.0.0
13
  * Requires PHP: 5.6
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: nathanrice, studiopress, wpmuguru
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5553118
4
  Tags: shortcodes, genesis, genesiswp, studiopress
5
  Requires at least: 5.0.0
6
- Tested up to: 5.2.2
7
- Stable tag: 2.3.0
8
 
9
  This plugin lets you edit the three most commonly modified areas in any Genesis theme: the post-info (byline), the post-meta, and the footer area.
10
 
@@ -33,6 +33,9 @@ You must have Genesis (3.1.0+) and a Genesis child theme installed and activated
33
 
34
  == Changelog ==
35
 
 
 
 
36
  = 2.3.0 =
37
  * Remove footer credits setting, replaced by core Genesis 3.1 setting.
38
  * Increase minimum Genesis version to 3.1.0.
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5553118
4
  Tags: shortcodes, genesis, genesiswp, studiopress
5
  Requires at least: 5.0.0
6
+ Tested up to: 5.4
7
+ Stable tag: 2.3.1
8
 
9
  This plugin lets you edit the three most commonly modified areas in any Genesis theme: the post-info (byline), the post-meta, and the footer area.
10
 
33
 
34
  == Changelog ==
35
 
36
+ = 2.3.1 =
37
+ * Fixed admin fields on tablets.
38
+
39
  = 2.3.0 =
40
  * Remove footer credits setting, replaced by core Genesis 3.1 setting.
41
  * Increase minimum Genesis version to 3.1.0.