Version Description
- Fixed a bug due to which the plugin data that stored in the database to not be deleted during the uninstallation of the plugin.
- The contents of the file 'uninstall.php is moved to the file 'core.php'. The file 'uninstall.php' is deleted.
Download this release
Release Info
Developer | Arthur Gareginyan |
Plugin | All Meta Tags |
Version | 4.19 |
Comparing to | |
See all releases |
Code changes from version 4.18 to 4.19
- all-meta-tags.php +1 -2
- inc/php/core.php +8 -0
- inc/php/uninstall.php +0 -14
- readme.txt +5 -1
all-meta-tags.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Easily and safely add your custom Meta Tags to WordPress website's header.
|
6 |
* Author: Space X-Chimp
|
7 |
* Author URI: https://www.spacexchimp.com
|
8 |
-
* Version: 4.
|
9 |
* License: GPL3
|
10 |
* Text Domain: all-meta-tags
|
11 |
* Domain Path: /languages/
|
@@ -78,4 +78,3 @@ require_once( SPACEXCHIMP_P004_PATH . 'inc/php/functional.php' );
|
|
78 |
require_once( SPACEXCHIMP_P004_PATH . 'inc/php/controls.php' );
|
79 |
require_once( SPACEXCHIMP_P004_PATH . 'inc/php/page.php' );
|
80 |
require_once( SPACEXCHIMP_P004_PATH . 'inc/php/messages.php' );
|
81 |
-
require_once( SPACEXCHIMP_P004_PATH . 'inc/php/uninstall.php' );
|
5 |
* Description: Easily and safely add your custom Meta Tags to WordPress website's header.
|
6 |
* Author: Space X-Chimp
|
7 |
* Author URI: https://www.spacexchimp.com
|
8 |
+
* Version: 4.19
|
9 |
* License: GPL3
|
10 |
* Text Domain: all-meta-tags
|
11 |
* Domain Path: /languages/
|
78 |
require_once( SPACEXCHIMP_P004_PATH . 'inc/php/controls.php' );
|
79 |
require_once( SPACEXCHIMP_P004_PATH . 'inc/php/page.php' );
|
80 |
require_once( SPACEXCHIMP_P004_PATH . 'inc/php/messages.php' );
|
|
inc/php/core.php
CHANGED
@@ -108,3 +108,11 @@ function spacexchimp_p004_activation() {
|
|
108 |
}
|
109 |
}
|
110 |
register_activation_hook( SPACEXCHIMP_P004_FILE, 'spacexchimp_p004_activation' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
}
|
109 |
}
|
110 |
register_activation_hook( SPACEXCHIMP_P004_FILE, 'spacexchimp_p004_activation' );
|
111 |
+
|
112 |
+
/**
|
113 |
+
* Delete options on uninstall
|
114 |
+
*/
|
115 |
+
function spacexchimp_p004_uninstall() {
|
116 |
+
delete_option( SPACEXCHIMP_P004_SETTINGS . '_settings' );
|
117 |
+
}
|
118 |
+
register_uninstall_hook( SPACEXCHIMP_P004_FILE, 'spacexchimp_p004_uninstall' );
|
inc/php/uninstall.php
DELETED
@@ -1,14 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Prevent Direct Access
|
5 |
-
*/
|
6 |
-
defined( 'ABSPATH' ) or die( "Restricted access!" );
|
7 |
-
|
8 |
-
/**
|
9 |
-
* Delete options on uninstall
|
10 |
-
*/
|
11 |
-
function spacexchimp_p004_uninstall() {
|
12 |
-
delete_option( SPACEXCHIMP_P004_SETTINGS . '_settings' );
|
13 |
-
}
|
14 |
-
register_uninstall_hook( __FILE__, 'spacexchimp_p004_uninstall' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: meta, tag, tags, custom, simple, plugin, twitter, facebook, google, google
|
|
4 |
Donate link: https://www.spacexchimp.com/donate.html
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 4.
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -207,6 +207,10 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
|
|
207 |
|
208 |
== Changelog ==
|
209 |
|
|
|
|
|
|
|
|
|
210 |
= 4.18 =
|
211 |
* Added new constant "_FILE".
|
212 |
* Added a function that runs during the plugin activation. Now the date of the first activation of the plugin is recorded in the database.
|
4 |
Donate link: https://www.spacexchimp.com/donate.html
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 4.19
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
207 |
|
208 |
== Changelog ==
|
209 |
|
210 |
+
= 4.19 =
|
211 |
+
* Fixed a bug due to which the plugin data that stored in the database to not be deleted during the uninstallation of the plugin.
|
212 |
+
* The contents of the file 'uninstall.php is moved to the file 'core.php'. The file 'uninstall.php' is deleted.
|
213 |
+
|
214 |
= 4.18 =
|
215 |
* Added new constant "_FILE".
|
216 |
* Added a function that runs during the plugin activation. Now the date of the first activation of the plugin is recorded in the database.
|