Post Expirator - Version 1.5.1

Version Description

Download this release

Release Info

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

Code changes from version 1.5 to 1.5.1

Files changed (2) hide show
  1. post-expirator.php +2 -2
  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 (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: 1.5
8
  Author URI: http://postexpirator.tuxdocs.net/
9
  Translation: Thierry (http://palijn.info)
10
  Text Domain: post-expirator
@@ -181,7 +181,7 @@ add_action ('manage_pages_custom_column', 'expirationdate_show_value');
181
  function expirationdate_meta_custom() {
182
  $custom_post_types = get_post_types();
183
  foreach ($custom_post_types as $t) {
184
- add_meta_box('expirationdatediv', __('Post Expirator','post-expirator'), 'expirationdate_meta_box', 'post', 'side', 'core');
185
  }
186
  add_meta_box('expirationdatediv', __('Post Expirator','post-expirator'), 'expirationdate_meta_box', 'page', 'side', 'core');
187
  }
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: 1.5.1
8
  Author URI: http://postexpirator.tuxdocs.net/
9
  Translation: Thierry (http://palijn.info)
10
  Text Domain: post-expirator
181
  function expirationdate_meta_custom() {
182
  $custom_post_types = get_post_types();
183
  foreach ($custom_post_types as $t) {
184
+ add_meta_box('expirationdatediv', __('Post Expirator','post-expirator'), 'expirationdate_meta_box', $t, 'side', 'core');
185
  }
186
  add_meta_box('expirationdatediv', __('Post Expirator','post-expirator'), 'expirationdate_meta_box', 'page', 'side', 'core');
187
  }
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: axelseaa
3
  Tags: expire, posts, pages, schedule
4
  Requires at least: 3.0
5
  Tested up to: 3.3.1
6
- Stable tag: 1.5
7
 
8
  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
9
  post categories.
@@ -39,6 +39,10 @@ This section describes how to install the plugin and get it working.
39
 
40
  == Changelog ==
41
 
 
 
 
 
42
  **Version 1.5**
43
 
44
  * Moved Expirator Box to Sidebar and cleaned up meta code
3
  Tags: expire, posts, pages, schedule
4
  Requires at least: 3.0
5
  Tested up to: 3.3.1
6
+ Stable tag: 1.5.1
7
 
8
  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
9
  post categories.
39
 
40
  == Changelog ==
41
 
42
+ **Version 1.5.1**
43
+
44
+ * Fixed bug that was not allow custom post types to work
45
+
46
  **Version 1.5**
47
 
48
  * Moved Expirator Box to Sidebar and cleaned up meta code