Changeset 2411280
- Timestamp:
- 11/02/2020 05:13:45 PM (5 years ago)
- Location:
- wp-post-expires/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wp-post-expires.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-post-expires/trunk/readme.txt
r2097005 r2411280 4 4 Tags: expired post, posts expiring, expiration, expire, wordpress post expiry 5 5 Requires at least: 5.0 6 Tested up to: 5. 2.17 Stable tag: 1.2. 46 Tested up to: 5.5.3 7 Stable tag: 1.2.5 8 8 License: GPLv2 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 41 41 42 42 == Changelog == 43 44 = 1.2.5 = 45 46 fix bug loop expire. Tnx @d79 (https://github.com/d79) 47 versiob wp 5.5.3 43 48 44 49 = 1.2.4 = -
wp-post-expires/trunk/wp-post-expires.php
r2097005 r2411280 3 3 Plugin Name: WP Post Expires 4 4 Description: A simple plugin allow to set the posts, the time after which will be performed one of 3 actions: "Add prefix to title", "Move to drafts", "Move to trash". 5 Version: 1.2. 45 Version: 1.2.5 6 6 Author: XNicON 7 7 Author URI: https://xnicon.ru … … 10 10 Domain Path: /languages 11 11 12 Copyright 2016-20 19 XNicON (x-icon@ya.ru)12 Copyright 2016-2020 XNicON (xnicon@gmail.com) 13 13 14 14 WP Post Expires is free software; you can redistribute it and/or modify … … 28 28 29 29 class XNPostExpires { 30 private $plugin_version = '1.2. 4';30 private $plugin_version = '1.2.5'; 31 31 private $url_assets; 32 32 private static $timezone; … … 266 266 add_filter('display_post_states', [$this, 'addPostState'], 10, 2); 267 267 } 268 } else { 269 remove_filter('the_title', [$this, 'textTitleFilter'], 10, 2); 270 remove_filter('post_class', [$this, 'cssClassFilter']); 271 remove_filter('display_post_states', [$this, 'addPostState'], 10, 2); 268 272 } 269 273 }
Note: See TracChangeset
for help on using the changeset viewer.