Genesis Simple Edits - Version 2.2.1

Version Description

  • Genesis 2.6+ compatibility (prevents white screen).
Download this release

Release Info

Developer nathanrice
Plugin Icon 128x128 Genesis Simple Edits
Version 2.2.1
Comparing to
See all releases

Code changes from version 2.2.0 to 2.2.1

genesis-simple-edits.php CHANGED
@@ -11,7 +11,7 @@ class Genesis_Simple_Edits {
11
  /**
12
  * Plugin version
13
  */
14
- public $plugin_version = '2.2.0';
15
 
16
  /**
17
  * Minimum WordPress version.
@@ -120,9 +120,11 @@ class Genesis_Simple_Edits {
120
  $this->core = new Genesis_Simple_Edits_Core;
121
  $this->core->init();
122
 
123
- require_once( $this->plugin_dir_path . 'includes/class-genesis-simple-edits-admin.php' );
124
- $this->admin = new Genesis_Simple_Edits_Admin;
125
- $this->admin->init();
 
 
126
 
127
  }
128
 
11
  /**
12
  * Plugin version
13
  */
14
+ public $plugin_version = '2.2.1';
15
 
16
  /**
17
  * Minimum WordPress version.
120
  $this->core = new Genesis_Simple_Edits_Core;
121
  $this->core->init();
122
 
123
+ if ( is_admin() ) {
124
+ require_once( $this->plugin_dir_path . 'includes/class-genesis-simple-edits-admin.php' );
125
+ $this->admin = new Genesis_Simple_Edits_Admin;
126
+ $this->admin->init();
127
+ }
128
 
129
  }
130
 
includes/class-genesis-simple-edits-admin.php CHANGED
@@ -40,8 +40,8 @@ class Genesis_Simple_Edits_Admin extends Genesis_Admin_Form {
40
  $menu_ops = array(
41
  'submenu' => array(
42
  'parent_slug' => 'genesis',
43
- 'page_title' => __( 'Genesis - Simple Edits', 'genesis-simple-sidebars' ),
44
- 'menu_title' => __( 'Simple Edits', 'genesis-simple-sidebars' )
45
  )
46
  );
47
 
40
  $menu_ops = array(
41
  'submenu' => array(
42
  'parent_slug' => 'genesis',
43
+ 'page_title' => __( 'Genesis - Simple Edits', 'genesis-simple-edits' ),
44
+ 'menu_title' => __( 'Simple Edits', 'genesis-simple-edits' )
45
  )
46
  );
47
 
package.json CHANGED
@@ -29,7 +29,7 @@
29
  "description": "Genesis Simple Edits lets you edit the three most commonly modified areas in any Genesis theme: the post-info, the post-meta, and the footer area.",
30
  "author": "StudioPress",
31
  "authoruri": "http://www.studiopress.com/",
32
- "version": "2.1.3",
33
  "license": "GPL-2.0+",
34
  "licenseuri": "http://www.gnu.org/licenses/gpl-2.0.html",
35
  "textdomain": "genesis-simple-edits"
29
  "description": "Genesis Simple Edits lets you edit the three most commonly modified areas in any Genesis theme: the post-info, the post-meta, and the footer area.",
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-edits"
plugin.php CHANGED
@@ -8,7 +8,7 @@ Description: Genesis Simple Edits lets you edit the three most commonly modified
8
  Author: StudioPress
9
  Author URI: http://www.studiopress.com/
10
 
11
- Version: 2.2.0
12
 
13
  Text Domain: genesis-simple-edits
14
  Domain Path: /languages
8
  Author: StudioPress
9
  Author URI: http://www.studiopress.com/
10
 
11
+ Version: 2.2.1
12
 
13
  Text Domain: genesis-simple-edits
14
  Domain Path: /languages
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  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: 4.7.2
6
- Tested up to: 4.7.3
7
- Stable tag: 2.2.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 (2.4.2+) or a Genesis child theme installed and activated
33
 
34
  == Changelog ==
35
 
 
 
 
36
  = 2.2.0 =
37
  * Rewrite based in plugin boilerplate.
38
  * Update Author and Author URI.
2
  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: 4.9.0
6
+ Tested up to: 4.9.4
7
+ Stable tag: 2.2.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.2.1 =
37
+ * Genesis 2.6+ compatibility (prevents white screen).
38
+
39
  = 2.2.0 =
40
  * Rewrite based in plugin boilerplate.
41
  * Update Author and Author URI.