Version Description
Download this release
Release Info
Developer | axelseaa |
Plugin | Post Expirator |
Version | 2.3.1.1 |
Comparing to | |
See all releases |
Code changes from version 2.3.1 to 2.3.1.1
- post-expirator.php +5 -2
- readme.txt +1 -1
post-expirator.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Post Expirator
|
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/post-expirator/
|
5 |
Description: Allows you to add an expiration date (minute) to posts which you can configure to either delete the post, change it to a draft, or update the post categories at expiration time.
|
6 |
Author: Aaron Axelsen
|
7 |
-
Version: 2.3.1
|
8 |
Author URI: http://postexpirator.tuxdocs.net/
|
9 |
Text Domain: post-expirator
|
10 |
*/
|
@@ -17,7 +17,7 @@ function postExpirator_init() {
|
|
17 |
add_action('plugins_loaded', 'postExpirator_init');
|
18 |
|
19 |
// Default Values
|
20 |
-
define('POSTEXPIRATOR_VERSION','2.3.1');
|
21 |
define('POSTEXPIRATOR_DATEFORMAT',__('l F jS, Y','post-expirator'));
|
22 |
define('POSTEXPIRATOR_TIMEFORMAT',__('g:ia','post-expirator'));
|
23 |
define('POSTEXPIRATOR_FOOTERCONTENTS',__('Post expires at EXPIRATIONTIME on EXPIRATIONDATE','post-expirator'));
|
@@ -1534,6 +1534,9 @@ function postexpirator_upgrade() {
|
|
1534 |
if (version_compare($version,'2.3.1') == -1) {
|
1535 |
update_option('postexpiratorVersion',POSTEXPIRATOR_VERSION);
|
1536 |
}
|
|
|
|
|
|
|
1537 |
}
|
1538 |
}
|
1539 |
add_action('admin_init','postexpirator_upgrade');
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/post-expirator/
|
5 |
Description: Allows you to add an expiration date (minute) to posts which you can configure to either delete the post, change it to a draft, or update the post categories at expiration time.
|
6 |
Author: Aaron Axelsen
|
7 |
+
Version: 2.3.1.1
|
8 |
Author URI: http://postexpirator.tuxdocs.net/
|
9 |
Text Domain: post-expirator
|
10 |
*/
|
17 |
add_action('plugins_loaded', 'postExpirator_init');
|
18 |
|
19 |
// Default Values
|
20 |
+
define('POSTEXPIRATOR_VERSION','2.3.1.1');
|
21 |
define('POSTEXPIRATOR_DATEFORMAT',__('l F jS, Y','post-expirator'));
|
22 |
define('POSTEXPIRATOR_TIMEFORMAT',__('g:ia','post-expirator'));
|
23 |
define('POSTEXPIRATOR_FOOTERCONTENTS',__('Post expires at EXPIRATIONTIME on EXPIRATIONDATE','post-expirator'));
|
1534 |
if (version_compare($version,'2.3.1') == -1) {
|
1535 |
update_option('postexpiratorVersion',POSTEXPIRATOR_VERSION);
|
1536 |
}
|
1537 |
+
if (version_compare($version,'2.3.1.1') == -1) {
|
1538 |
+
update_option('postexpiratorVersion',POSTEXPIRATOR_VERSION);
|
1539 |
+
}
|
1540 |
}
|
1541 |
}
|
1542 |
add_action('admin_init','postexpirator_upgrade');
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://aaron.axelsen.us/donate
|
|
4 |
Tags: expire, posts, pages, schedule
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.8
|
7 |
-
Stable tag: 2.3.1
|
8 |
|
9 |
Allows you to add an expiration date to posts which you can configure to either delete the post, change it to a draft, or update the
|
10 |
post categories.
|
4 |
Tags: expire, posts, pages, schedule
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 4.8
|
7 |
+
Stable tag: 2.3.1.1
|
8 |
|
9 |
Allows you to add an expiration date to posts which you can configure to either delete the post, change it to a draft, or update the
|
10 |
post categories.
|