Head & Footer Code - Version 1.0.4

Version Description

  • Fix: PHP Warning: in_array() expects parameter 2 to be array, string given (introduced in v1.0.3)
Download this release

Release Info

Developer urkekg
Plugin Icon Head & Footer Code
Version 1.0.4
Comparing to
See all releases

Code changes from version 1.0.3 to 1.0.4

Files changed (3) hide show
  1. head-footer-code.php +1 -1
  2. inc/helpers.php +1 -1
  3. readme.txt +4 -1
head-footer-code.php CHANGED
@@ -8,7 +8,7 @@
8
* Plugin Name: Head & Footer Code
9
* Plugin URI: http://urosevic.net/wordpress/plugins/head-footer-code/
10
* Description: Easy add site-wide and/or article specific custom code to head and/or footer sections (before the &lt;/head&gt; or &lt;/body&gt;) by hooking to <code>wp_head</code> and <code>wp_footer</code>.
11
- * Version: 1.0.3
12
* Author: Aleksandar Urosevic
13
* Author URI: http://urosevic.net
14
* License: GPL-2.0+
8
* Plugin Name: Head & Footer Code
9
* Plugin URI: http://urosevic.net/wordpress/plugins/head-footer-code/
10
* Description: Easy add site-wide and/or article specific custom code to head and/or footer sections (before the &lt;/head&gt; or &lt;/body&gt;) by hooking to <code>wp_head</code> and <code>wp_footer</code>.
11
+ * Version: 1.0.4
12
* Author: Aleksandar Urosevic
13
* Author URI: http://urosevic.net
14
* License: GPL-2.0+
inc/helpers.php CHANGED
@@ -9,7 +9,7 @@ function auhfc_defaults() {
9
'head' => '',
10
'footer' => '',
11
'priority' => 10,
12
- 'post_types' => '', // array( 'post', 'page' ),
13
);
14
$auhfc_settings = get_option( 'auhfc_settings', $defaults );
15
$auhfc_settings = wp_parse_args( $auhfc_settings, $defaults );
9
'head' => '',
10
'footer' => '',
11
'priority' => 10,
12
+ 'post_types' => array(), // array( 'post', 'page' ),
13
);
14
$auhfc_settings = get_option( 'auhfc_settings', $defaults );
15
$auhfc_settings = wp_parse_args( $auhfc_settings, $defaults );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://urosevic.net/wordpress/donate/?donate_for=head-footer-code
4
Tags: wp_head, wp_footer, head footer code, custom head script, custom footer script, google analytics, pixel tracking, tracking code, javascript, scripts, site verification, css
5
Requires at least: 3.9
6
Tested up to: 4.3.2
7
- Stable tag: 1.0.3
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
@@ -81,6 +81,9 @@ Initial release of new plugin developed by Aleksandar Urosevic.
81
82
== Changelog ==
83
84
= 1.0.3 =
85
* Change: Make even default WP post types `post` and `page` optional for page specific head/footer code
86
4
Tags: wp_head, wp_footer, head footer code, custom head script, custom footer script, google analytics, pixel tracking, tracking code, javascript, scripts, site verification, css
5
Requires at least: 3.9
6
Tested up to: 4.3.2
7
+ Stable tag: 1.0.4
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
81
82
== Changelog ==
83
84
+ = 1.0.4 =
85
+ * Fix: PHP Warning: in_array() expects parameter 2 to be array, string given (introduced in v1.0.3)
86
+
87
= 1.0.3 =
88
* Change: Make even default WP post types `post` and `page` optional for page specific head/footer code
89