Changeset 2412918
- Timestamp:
- 11/05/2020 04:41:19 AM (5 years ago)
- Location:
- post-expirator/trunk
- Files:
-
- 3 edited
-
admin-edit.js (modified) (1 diff)
-
post-expirator.php (modified) (6 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
post-expirator/trunk/admin-edit.js
r1666586 r2412918 50 50 }; 51 51 52 $( '#bulk_edit' ). live( 'click', function() {52 $( '#bulk_edit' ).on( 'click', function() { 53 53 54 54 // define the bulk edit row -
post-expirator/trunk/post-expirator.php
r2126972 r2412918 5 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 6 Author: Aaron Axelsen 7 Version: 2.4. 0.17 Version: 2.4.1 8 8 Author URI: http://postexpirator.tuxdocs.net/ 9 9 Text Domain: post-expirator … … 18 18 19 19 // Default Values 20 define('POSTEXPIRATOR_VERSION','2.4. 0.1');20 define('POSTEXPIRATOR_VERSION','2.4.1'); 21 21 define('POSTEXPIRATOR_DATEFORMAT',__('l F jS, Y','post-expirator')); 22 22 define('POSTEXPIRATOR_TIMEFORMAT',__('g:ia','post-expirator')); … … 263 263 $expirationdatets = get_post_meta($post->ID,'_expiration-date',true); 264 264 $firstsave = get_post_meta($post->ID,'_expiration-date-status',true); 265 266 // nonce 267 wp_nonce_field( '__postexpirator', '_postexpiratornonce' ); 268 265 269 $default = ''; 266 270 $expireType = ''; … … 286 290 $defaultmonth = get_date_from_gmt(gmdate('Y-m-d H:i:s',$ts),'m'); 287 291 $defaultday = get_date_from_gmt(gmdate('Y-m-d H:i:s',$ts),'d'); 288 $defaultyear = get_date_from_gmt(gmdate('Y-m-d H:i:s',$ts),'Y'); ;292 $defaultyear = get_date_from_gmt(gmdate('Y-m-d H:i:s',$ts),'Y'); 289 293 $defaulthour = get_date_from_gmt(gmdate('Y-m-d H:i:s',$ts),'H'); 290 294 $defaultminute = get_date_from_gmt(gmdate('Y-m-d H:i:s',$ts),'i'); … … 336 340 if ($defaultyear < $currentyear) $currentyear = $defaultyear; 337 341 338 for($i = $currentyear; $i < $currentyear + 8; $i++) {342 for($i = $currentyear; $i <= $currentyear + 10; $i++) { 339 343 if ($i == $defaultyear) 340 344 $selected = ' selected="selected"'; … … 1540 1544 update_option('postexpiratorVersion',POSTEXPIRATOR_VERSION); 1541 1545 } 1546 if (version_compare($version,'2.4.1') == -1) { 1547 update_option('postexpiratorVersion',POSTEXPIRATOR_VERSION); 1548 } 1542 1549 } 1543 1550 } -
post-expirator/trunk/readme.txt
r2126972 r2412918 5 5 Requires at least: 4.0 6 6 Tested up to: 5.2 7 Stable tag: 2.4. 0.17 Stable tag: 2.4.1 8 8 9 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 … … 57 57 58 58 == Changelog == 59 60 **Version 2.4.1** 61 62 * Fix: Updated deprecated .live jQuery reference. 59 63 60 64 **Version 2.4.0**
Note: See TracChangeset
for help on using the changeset viewer.