Version Description
- Removed an unnecessary version compare check that was causing some fatal errors.
Download this release
Release Info
Developer | nathanrice |
Plugin | Genesis Simple Hooks |
Version | 1.8.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.8.0 to 1.8.0.1
- plugin.php +1 -7
- readme.txt +5 -2
plugin.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
Author: Nathan Rice
|
7 |
Author URI: http://www.nathanrice.net/
|
8 |
|
9 |
-
Version: 1.8.0
|
10 |
|
11 |
License: GNU General Public License v2.0 (or later)
|
12 |
License URI: http://www.opensource.org/licenses/gpl-license.php
|
@@ -48,12 +48,6 @@ add_action( 'genesis_init', 'simplehooks_init', 20 );
|
|
48 |
* @since 1.8.0
|
49 |
*/
|
50 |
function simplehooks_init() {
|
51 |
-
|
52 |
-
/** Verify version */
|
53 |
-
if ( version_compare( PARENT_THEME_VERSION, '1.8.0', '<' ) ) {
|
54 |
-
deactivate_plugins( plugin_basename( __FILE__ ) ); /** Deactivate ourself */
|
55 |
-
wp_die( sprintf( __( 'Sorry, this version of Simple Hooks requires WordPress 3.3 (or later) and Genesis %s (or later).', 'simplehooks' ), $latest ) );
|
56 |
-
}
|
57 |
|
58 |
/** Admin Menu */
|
59 |
if ( is_admin() )
|
6 |
Author: Nathan Rice
|
7 |
Author URI: http://www.nathanrice.net/
|
8 |
|
9 |
+
Version: 1.8.0.1
|
10 |
|
11 |
License: GNU General Public License v2.0 (or later)
|
12 |
License URI: http://www.opensource.org/licenses/gpl-license.php
|
48 |
* @since 1.8.0
|
49 |
*/
|
50 |
function simplehooks_init() {
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
|
52 |
/** Admin Menu */
|
53 |
if ( is_admin() )
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: hooks, genesis, genesiswp, studiopress
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.3.1
|
7 |
-
Stable tag: 1.8.0
|
8 |
|
9 |
This plugin creates a new Genesis settings page that allows you to insert code (HTML, Shortcodes, and PHP), and attach it to any of the 50+ action hooks throughout the Genesis Theme Framework, from StudioPress.
|
10 |
|
@@ -111,4 +111,7 @@ The most common request from Genesis users is how to properly modify their foote
|
|
111 |
|
112 |
= 1.8.0 =
|
113 |
* Increased requirement to Genesis 1.8.0.
|
114 |
-
* Switched over to the Genesis 1.8 admin menu class to build admin menu.
|
|
|
|
|
|
4 |
Tags: hooks, genesis, genesiswp, studiopress
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.3.1
|
7 |
+
Stable tag: 1.8.0.1
|
8 |
|
9 |
This plugin creates a new Genesis settings page that allows you to insert code (HTML, Shortcodes, and PHP), and attach it to any of the 50+ action hooks throughout the Genesis Theme Framework, from StudioPress.
|
10 |
|
111 |
|
112 |
= 1.8.0 =
|
113 |
* Increased requirement to Genesis 1.8.0.
|
114 |
+
* Switched over to the Genesis 1.8 admin menu class to build admin menu.
|
115 |
+
|
116 |
+
= 1.8.0.1 =
|
117 |
+
* Removed an unnecessary version compare check that was causing some fatal errors.
|