Version Description
2022-03-26 * FIXED: MultiSite issue with subsites in network
Download this release
Release Info
Developer | 99robots |
Plugin | Header Footer Code Manager |
Version | 1.1.20 |
Comparing to | |
See all releases |
Code changes from version 1.1.19 to 1.1.20
- 99robots-header-footer-code-manager.php +4 -4
- readme.txt +4 -1
- uninstall.php +0 -3
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 |
|
@@ -108,7 +108,7 @@ if ( !class_exists( 'NNR_HFCM' ) ) :
|
|
108 |
global $wpdb;
|
109 |
|
110 |
$table_name = $wpdb->prefix . self::$nnr_hfcm_table;
|
111 |
-
if (
|
112 |
$wpdb->show_errors();
|
113 |
|
114 |
if ( !empty( $wpdb->dbname ) ) {
|
@@ -159,7 +159,7 @@ if ( !class_exists( 'NNR_HFCM' ) ) :
|
|
159 |
}
|
160 |
self::hfcm_options_install();
|
161 |
}
|
162 |
-
|
163 |
}
|
164 |
|
165 |
|
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.20
|
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_option( 'hfcm_db_version', self::$nnr_hfcm_db_version );
|
100 |
}
|
101 |
|
102 |
|
108 |
global $wpdb;
|
109 |
|
110 |
$table_name = $wpdb->prefix . self::$nnr_hfcm_table;
|
111 |
+
if ( get_option( 'hfcm_db_version' ) != self::$nnr_hfcm_db_version ) {
|
112 |
$wpdb->show_errors();
|
113 |
|
114 |
if ( !empty( $wpdb->dbname ) ) {
|
159 |
}
|
160 |
self::hfcm_options_install();
|
161 |
}
|
162 |
+
update_option( 'hfcm_db_version', self::$nnr_hfcm_db_version );
|
163 |
}
|
164 |
|
165 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: header, footer, code manager, snippet, functions.php, tracking, google ana
|
|
4 |
Requires at least: 4.9
|
5 |
Requires PHP: 5.6.20
|
6 |
Tested up to: 5.9.2
|
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,9 @@ 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.19 = 2022-03-24
|
118 |
* FIXED: MultiSite slow query issue
|
119 |
* UPDATED: Compatibility with WordPress 5.9.2
|
4 |
Requires at least: 4.9
|
5 |
Requires PHP: 5.6.20
|
6 |
Tested up to: 5.9.2
|
7 |
+
Stable tag: 1.1.20
|
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.20 = 2022-03-26
|
118 |
+
* FIXED: MultiSite issue with subsites in network
|
119 |
+
|
120 |
= 1.1.19 = 2022-03-24
|
121 |
* FIXED: MultiSite slow query issue
|
122 |
* UPDATED: Compatibility with WordPress 5.9.2
|
uninstall.php
CHANGED
@@ -7,9 +7,6 @@ if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
|
|
7 |
$option_name = 'hfcm_db_version';
|
8 |
delete_option( $option_name );
|
9 |
|
10 |
-
// For site options in Multisite
|
11 |
-
delete_site_option( $option_name );
|
12 |
-
|
13 |
// Drop a custom db table
|
14 |
global $wpdb;
|
15 |
$table_name = $wpdb->prefix . 'hfcm_scripts';
|
7 |
$option_name = 'hfcm_db_version';
|
8 |
delete_option( $option_name );
|
9 |
|
|
|
|
|
|
|
10 |
// Drop a custom db table
|
11 |
global $wpdb;
|
12 |
$table_name = $wpdb->prefix . 'hfcm_scripts';
|