Version Description
2022-03-24 * FIXED: MultiSite slow query issue * UPDATED: Compatibility with WordPress 5.9.2
Download this release
Release Info
Developer | 99robots |
Plugin | Header Footer Code Manager |
Version | 1.1.19 |
Comparing to | |
See all releases |
Code changes from version 1.1.18 to 1.1.19
- 99robots-header-footer-code-manager.php +7 -7
- readme.txt +6 -2
99robots-header-footer-code-manager.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Header Footer Code Manager
|
4 |
* Plugin URI: https://draftpress.com/products
|
5 |
* Description: Header Footer Code Manager by 99 Robots is a quick and simple way for you to add tracking code snippets, conversion pixels, or other scripts required by third party services for analytics, tracking, marketing, or chat functions. For detailed documentation, please visit the plugin's <a href="https://draftpress.com/"> official page</a>.
|
6 |
-
* Version: 1.1.
|
7 |
* Requires at least: 4.9
|
8 |
* Requires PHP: 5.6.20
|
9 |
* Author: 99robots
|
@@ -96,7 +96,7 @@ if ( !class_exists( 'NNR_HFCM' ) ) :
|
|
96 |
|
97 |
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
98 |
dbDelta( $sql );
|
99 |
-
|
100 |
}
|
101 |
|
102 |
|
@@ -159,7 +159,7 @@ if ( !class_exists( 'NNR_HFCM' ) ) :
|
|
159 |
}
|
160 |
self::hfcm_options_install();
|
161 |
}
|
162 |
-
|
163 |
}
|
164 |
|
165 |
|
@@ -1189,10 +1189,10 @@ if ( !class_exists( 'NNR_HFCM' ) ) :
|
|
1189 |
}
|
1190 |
$nnr_hfcm_sanitizes_snippet = [];
|
1191 |
$nnr_hfcm_keys = array(
|
1192 |
-
|
1193 |
-
|
1194 |
-
|
1195 |
-
|
1196 |
);
|
1197 |
foreach ( $nnr_hfcm_snippet as $nnr_key => $nnr_item ) {
|
1198 |
$nnr_key = sanitize_text_field( $nnr_key );
|
3 |
* Plugin Name: Header Footer Code Manager
|
4 |
* Plugin URI: https://draftpress.com/products
|
5 |
* Description: Header Footer Code Manager by 99 Robots is a quick and simple way for you to add tracking code snippets, conversion pixels, or other scripts required by third party services for analytics, tracking, marketing, or chat functions. For detailed documentation, please visit the plugin's <a href="https://draftpress.com/"> official page</a>.
|
6 |
+
* Version: 1.1.19
|
7 |
* Requires at least: 4.9
|
8 |
* Requires PHP: 5.6.20
|
9 |
* Author: 99robots
|
96 |
|
97 |
require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
|
98 |
dbDelta( $sql );
|
99 |
+
add_site_option( 'hfcm_db_version', self::$nnr_hfcm_db_version );
|
100 |
}
|
101 |
|
102 |
|
159 |
}
|
160 |
self::hfcm_options_install();
|
161 |
}
|
162 |
+
update_site_option( 'hfcm_db_version', self::$nnr_hfcm_db_version );
|
163 |
}
|
164 |
|
165 |
|
1189 |
}
|
1190 |
$nnr_hfcm_sanitizes_snippet = [];
|
1191 |
$nnr_hfcm_keys = array(
|
1192 |
+
"name", "snippet", "snippet_type", "device_type", "location",
|
1193 |
+
"display_on", "lp_count", "s_pages", "ex_pages", "s_posts",
|
1194 |
+
"ex_posts", "s_custom_posts", "s_categories", "s_tags", "status",
|
1195 |
+
"created_by", "last_modified_by", "created", "last_revision_date"
|
1196 |
);
|
1197 |
foreach ( $nnr_hfcm_snippet as $nnr_key => $nnr_item ) {
|
1198 |
$nnr_key = sanitize_text_field( $nnr_key );
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: DraftPress, 99robots, charliepatel
|
|
3 |
Tags: header, footer, code manager, snippet, functions.php, tracking, google analytics, adsense, verification, pixel
|
4 |
Requires at least: 4.9
|
5 |
Requires PHP: 5.6.20
|
6 |
-
Tested up to: 5.9
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
Donate link: https://draftpress.com
|
@@ -114,6 +114,10 @@ A. Free plugins rely on user feedback. Therefore, the best thing you can do for
|
|
114 |
A. If your script is not supported, just let us know and we'll look into it immediately. We will do our best to ensure all reputable services are supported. When requesting support for a particular script, it would be nice to get a sample of the script so that we can see its structure.
|
115 |
|
116 |
== Changelog ==
|
|
|
|
|
|
|
|
|
117 |
= 1.1.18 = 2022-03-05
|
118 |
* ADDED: Ability to apply snippets to search, home, archive page only
|
119 |
* ADDED: Snippet search functionality
|
3 |
Tags: header, footer, code manager, snippet, functions.php, tracking, google analytics, adsense, verification, pixel
|
4 |
Requires at least: 4.9
|
5 |
Requires PHP: 5.6.20
|
6 |
+
Tested up to: 5.9.2
|
7 |
+
Stable tag: 1.1.19
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
Donate link: https://draftpress.com
|
114 |
A. If your script is not supported, just let us know and we'll look into it immediately. We will do our best to ensure all reputable services are supported. When requesting support for a particular script, it would be nice to get a sample of the script so that we can see its structure.
|
115 |
|
116 |
== Changelog ==
|
117 |
+
= 1.1.19 = 2022-03-24
|
118 |
+
* FIXED: MultiSite slow query issue
|
119 |
+
* UPDATED: Compatibility with WordPress 5.9.2
|
120 |
+
|
121 |
= 1.1.18 = 2022-03-05
|
122 |
* ADDED: Ability to apply snippets to search, home, archive page only
|
123 |
* ADDED: Snippet search functionality
|