Skip to content

Commit

Permalink
Move favicon unhook to proper wp_head. fixes #2.
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanrice committed Dec 2, 2013
1 parent 728b328 commit ca638f0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,13 @@ function wp_hooks_box() {

simplehooks_form_generate( array(
'hook' => 'wp_head',
'desc' => __( 'This hook executes immediately before the closing <code>&lt;/head&gt;</code> tag.', 'simplehooks' )
'desc' => __( 'This hook executes immediately before the closing <code>&lt;/head&gt;</code> tag.', 'simplehooks' ),
'unhook' => array( 'genesis_load_favicon' ),
) );

simplehooks_form_generate( array(
'hook' => 'wp_footer',
'desc' => __( 'This hook executes immediately before the closing <code>&lt;/body&gt;</code> tag.', 'simplehooks' )
'desc' => __( 'This hook executes immediately before the closing <code>&lt;/body&gt;</code> tag.', 'simplehooks' ),
) );

submit_button( __( 'Save Changes', 'simplehooks' ), 'primary' );
Expand All @@ -223,7 +224,6 @@ function document_hooks_box() {
simplehooks_form_generate( array(
'hook' => 'genesis_meta',
'desc' => __( 'This hook executes in the document <code>&lt;head&gt;</code>.<br /> It is commonly used to output <code>META</code> information about the document.', 'simplehooks' ),
'unhook' => array( 'genesis_load_favicon' )
) );

simplehooks_form_generate( array(
Expand Down
2 changes: 1 addition & 1 deletion plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Author: Nathan Rice
Author URI: http://www.nathanrice.net/
Version: 2.0.0
Version: 2.0.1
License: GNU General Public License v2.0 (or later)
License URI: http://www.opensource.org/licenses/gpl-license.php
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
Tags: hooks, genesis, genesiswp, studiopress
Requires at least: 3.6
Tested up to: 3.6
Stable tag: 2.0.0
Stable tag: 2.0.1

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.

Expand Down Expand Up @@ -122,3 +122,6 @@ The most common request from Genesis users is how to properly modify their foote
= 2.0.0 =
* Updated to use new entry hooks in Genesis 2.0.
* Remove unused boxes.php file.

= 2.0.1 =
* Genesis 2.0 favicon unhook location fix

0 comments on commit ca638f0

Please sign in to comment.