Post Expirator - Version 1.4.3

Version Description

Download this release

Release Info

Developer axelseaa
Plugin Icon 128x128 Post Expirator
Version 1.4.3
Comparing to
See all releases

Code changes from version 1.4.2 to 1.4.3

Files changed (2) hide show
  1. post-expirator.php +6 -3
  2. readme.txt +5 -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 to posts which you can configure to either delete the post or change it to a draft.
6
Author: Aaron Axelsen
7
- Version: 1.4.2
8
Author URI: http://postexpirator.tuxdocs.net/
9
Translation: Thierry (http://palijn.info)
10
Text Domain: post-expirator
@@ -20,9 +20,12 @@ $expirationdateDefaultTimeFormat = __('g:ia','post-expirator');
20
$expirationdateDefaultFooterContents = __('Post expires at EXPIRATIONTIME on EXPIRATIONDATE','post-expirator');
21
$expirationdateDefaultFooterStyle = 'font-style: italic;';
22
23
- // Detect WPMU
24
function postExpirator_is_wpmu() {
25
- return file_exists(ABSPATH."/wpmu-settings.php");
26
}
27
28
// Timezone Setup
4
Plugin URI: http://wordpress.org/extend/plugins/post-expirator/
5
Description: Allows you to add an expiration date to posts which you can configure to either delete the post or change it to a draft.
6
Author: Aaron Axelsen
7
+ Version: 1.4.3
8
Author URI: http://postexpirator.tuxdocs.net/
9
Translation: Thierry (http://palijn.info)
10
Text Domain: post-expirator
20
$expirationdateDefaultFooterContents = __('Post expires at EXPIRATIONTIME on EXPIRATIONDATE','post-expirator');
21
$expirationdateDefaultFooterStyle = 'font-style: italic;';
22
23
+ // Detect WPMU/MultiSite
24
function postExpirator_is_wpmu() {
25
+ if (function_exists('is_multisite'))
26
+ return is_multisite();
27
+ else
28
+ return file_exists(ABSPATH."/wpmu-settings.php");
29
}
30
31
// Timezone Setup
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: axelseaa
3
Tags: expire, posts, pages, schedule
4
Requires at least: 2.9
5
Tested up to: 3.1
6
- Stable tag: 1.4.2
7
8
Allows you to add an expiration date (minute) to posts which you can configure to either delete the post or change it to a draft.
9
@@ -43,6 +43,10 @@ This section describes how to install the plugin and get it working.
43
44
== Changelog ==
45
46
**Version 1.4.2**
47
48
* Added post expirator POT to /languages folder
3
Tags: expire, posts, pages, schedule
4
Requires at least: 2.9
5
Tested up to: 3.1
6
+ Stable tag: 1.4.3
7
8
Allows you to add an expiration date (minute) to posts which you can configure to either delete the post or change it to a draft.
9
43
44
== Changelog ==
45
46
+ **Version 1.4.3**
47
+
48
+ * Fixed issue with 3.0 multisite detection
49
+
50
**Version 1.4.2**
51
52
* Added post expirator POT to /languages folder