Changeset 1831101
- Timestamp:
- 02/28/2018 09:56:45 PM (8 years ago)
- Location:
- genesis-simple-hooks
- Files:
-
- 6 edited
- 7 copied
-
tags/2.2.1 (copied) (copied from genesis-simple-hooks/trunk)
-
tags/2.2.1/genesis-simple-hooks.php (copied) (copied from genesis-simple-hooks/trunk/genesis-simple-hooks.php) (3 diffs)
-
tags/2.2.1/includes (copied) (copied from genesis-simple-hooks/trunk/includes)
-
tags/2.2.1/includes/class-genesis-simple-hooks-admin.php (modified) (1 diff)
-
tags/2.2.1/languages/genesis-simple-hooks.pot (copied) (copied from genesis-simple-hooks/trunk/languages/genesis-simple-hooks.pot)
-
tags/2.2.1/package.json (copied) (copied from genesis-simple-hooks/trunk/package.json) (1 diff)
-
tags/2.2.1/plugin.php (copied) (copied from genesis-simple-hooks/trunk/plugin.php) (1 diff)
-
tags/2.2.1/readme.txt (copied) (copied from genesis-simple-hooks/trunk/readme.txt) (3 diffs)
-
trunk/genesis-simple-hooks.php (modified) (3 diffs)
-
trunk/includes/class-genesis-simple-hooks-admin.php (modified) (1 diff)
-
trunk/package.json (modified) (1 diff)
-
trunk/plugin.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
genesis-simple-hooks/tags/2.2.1/genesis-simple-hooks.php
r1611304 r1831101 6 6 * Plugin version 7 7 */ 8 public $plugin_version = '2.2. 0';8 public $plugin_version = '2.2.1'; 9 9 10 10 /** … … 71 71 // Because this is a Genesis-dependent plugin 72 72 add_action( 'genesis_setup', array( $this, 'includes' ) ); 73 add_action( 'genesis_ setup', array( $this, 'instantiate' ) );73 add_action( 'genesis_admin_init', array( $this, 'instantiate' ) ); 74 74 add_action( 'genesis_setup', array( $this, 'execute_hooks' ) ); 75 75 … … 85 85 if ( ! defined( 'PARENT_THEME_VERSION' ) || ! version_compare( PARENT_THEME_VERSION, $this->min_genesis_version, '>=' ) ) { 86 86 87 $action = defined( 'PARENT_THEME_VERSION' ) ? __( 'upgrade to', 'genesis-simple-hooks' ) : __( 'install and activate', 'genesis-simple-hooks' ); 88 89 $message = sprintf( __( 'Genesis Simple Hooks requires WordPress %s and Genesis %s, or greater. Please %s the latest version of <a href="%s" target="_blank">Genesis</a> to use this plugin.', 'genesis-simple-' ), $this->min_wp_version, $this->min_genesis_version, $action, 'http://my.studiopress.com/?download_id=91046d629e74d525b3f2978e404e7ffa' ); 87 $plugin = get_plugin_data( $this->plugin_dir_path . 'plugin.php' ); 88 89 $action = defined( 'PARENT_THEME_VERSION' ) ? __( 'upgrade to', 'plugin-boilerplate' ) : __( 'install and activate', 'plugin-boilerplate' ); 90 91 $message = sprintf( __( '%s requires WordPress %s and <a href="%s" target="_blank">Genesis %s</a>, or greater. Please %s the latest version of Genesis to use this plugin.', 'plugin-boilerplate' ), $plugin['name'], $this->min_wp_version, 'http://my.studiopress.com/?download_id=91046d629e74d525b3f2978e404e7ffa', $this->min_genesis_version, $action ); 90 92 echo '<div class="notice notice-warning"><p>' . $message . '</p></div>'; 91 93 -
genesis-simple-hooks/tags/2.2.1/includes/class-genesis-simple-hooks-admin.php
r1611304 r1831101 104 104 // Load parent scripts as well as Genesis admin scripts */ 105 105 parent::scripts(); 106 genesis_ load_admin_js();106 genesis_scripts()->enqueue_and_localize_admin_scripts(); 107 107 108 108 } -
genesis-simple-hooks/tags/2.2.1/package.json
r1611304 r1831101 30 30 "author": "StudioPress", 31 31 "authoruri": "http://www.studiopress.com/", 32 "version": "2.2. 0",32 "version": "2.2.1", 33 33 "license": "GPL-2.0+", 34 34 "licenseuri": "http://www.gnu.org/licenses/gpl-2.0.html", -
genesis-simple-hooks/tags/2.2.1/plugin.php
r1611304 r1831101 6 6 Description: Genesis Simple Hooks allows you easy access to the 50+ Action Hooks in the Genesis Theme. 7 7 8 Author: Nathan Rice9 Author URI: http://www. nathanrice.net/8 Author: StudioPress 9 Author URI: http://www.studiopress.com/ 10 10 11 Version: 2.2. 011 Version: 2.2.1 12 12 13 13 Text Domain: genesis-simple-hooks -
genesis-simple-hooks/tags/2.2.1/readme.txt
r1611304 r1831101 5 5 Requires at least: 4.7.2 6 6 Tested up to: 4.7.3 7 Stable tag: 2.2. 07 Stable tag: 2.2.1 8 8 9 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. … … 73 73 == Changelog == 74 74 75 = 2.2.1 = 76 * Genesis 2.6+ compatibility (prevents white screen). 77 * Remove reference to deprecated function. 78 75 79 = 2.2.0 = 76 80 * Rewrite plugin based on new plugin boilerplate. … … 79 83 * Better Genesis dependency handling. 80 84 * Change activation hook to conditional admin notice. 85 * Allow hooks to be de-registered via filter. 81 86 82 87 = 2.1.2 = -
genesis-simple-hooks/trunk/genesis-simple-hooks.php
r1611304 r1831101 6 6 * Plugin version 7 7 */ 8 public $plugin_version = '2.2. 0';8 public $plugin_version = '2.2.1'; 9 9 10 10 /** … … 71 71 // Because this is a Genesis-dependent plugin 72 72 add_action( 'genesis_setup', array( $this, 'includes' ) ); 73 add_action( 'genesis_ setup', array( $this, 'instantiate' ) );73 add_action( 'genesis_admin_init', array( $this, 'instantiate' ) ); 74 74 add_action( 'genesis_setup', array( $this, 'execute_hooks' ) ); 75 75 … … 85 85 if ( ! defined( 'PARENT_THEME_VERSION' ) || ! version_compare( PARENT_THEME_VERSION, $this->min_genesis_version, '>=' ) ) { 86 86 87 $action = defined( 'PARENT_THEME_VERSION' ) ? __( 'upgrade to', 'genesis-simple-hooks' ) : __( 'install and activate', 'genesis-simple-hooks' ); 88 89 $message = sprintf( __( 'Genesis Simple Hooks requires WordPress %s and Genesis %s, or greater. Please %s the latest version of <a href="%s" target="_blank">Genesis</a> to use this plugin.', 'genesis-simple-' ), $this->min_wp_version, $this->min_genesis_version, $action, 'http://my.studiopress.com/?download_id=91046d629e74d525b3f2978e404e7ffa' ); 87 $plugin = get_plugin_data( $this->plugin_dir_path . 'plugin.php' ); 88 89 $action = defined( 'PARENT_THEME_VERSION' ) ? __( 'upgrade to', 'plugin-boilerplate' ) : __( 'install and activate', 'plugin-boilerplate' ); 90 91 $message = sprintf( __( '%s requires WordPress %s and <a href="%s" target="_blank">Genesis %s</a>, or greater. Please %s the latest version of Genesis to use this plugin.', 'plugin-boilerplate' ), $plugin['name'], $this->min_wp_version, 'http://my.studiopress.com/?download_id=91046d629e74d525b3f2978e404e7ffa', $this->min_genesis_version, $action ); 90 92 echo '<div class="notice notice-warning"><p>' . $message . '</p></div>'; 91 93 -
genesis-simple-hooks/trunk/includes/class-genesis-simple-hooks-admin.php
r1611304 r1831101 104 104 // Load parent scripts as well as Genesis admin scripts */ 105 105 parent::scripts(); 106 genesis_ load_admin_js();106 genesis_scripts()->enqueue_and_localize_admin_scripts(); 107 107 108 108 } -
genesis-simple-hooks/trunk/package.json
r1611304 r1831101 30 30 "author": "StudioPress", 31 31 "authoruri": "http://www.studiopress.com/", 32 "version": "2.2. 0",32 "version": "2.2.1", 33 33 "license": "GPL-2.0+", 34 34 "licenseuri": "http://www.gnu.org/licenses/gpl-2.0.html", -
genesis-simple-hooks/trunk/plugin.php
r1611304 r1831101 6 6 Description: Genesis Simple Hooks allows you easy access to the 50+ Action Hooks in the Genesis Theme. 7 7 8 Author: Nathan Rice9 Author URI: http://www. nathanrice.net/8 Author: StudioPress 9 Author URI: http://www.studiopress.com/ 10 10 11 Version: 2.2. 011 Version: 2.2.1 12 12 13 13 Text Domain: genesis-simple-hooks -
genesis-simple-hooks/trunk/readme.txt
r1611304 r1831101 5 5 Requires at least: 4.7.2 6 6 Tested up to: 4.7.3 7 Stable tag: 2.2. 07 Stable tag: 2.2.1 8 8 9 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. … … 73 73 == Changelog == 74 74 75 = 2.2.1 = 76 * Genesis 2.6+ compatibility (prevents white screen). 77 * Remove reference to deprecated function. 78 75 79 = 2.2.0 = 76 80 * Rewrite plugin based on new plugin boilerplate. … … 79 83 * Better Genesis dependency handling. 80 84 * Change activation hook to conditional admin notice. 85 * Allow hooks to be de-registered via filter. 81 86 82 87 = 2.1.2 =
Note: See TracChangeset
for help on using the changeset viewer.