Plugin Directory

Changeset 2411280


Ignore:
Timestamp:
11/02/2020 05:13:45 PM (5 years ago)
Author:
X-NicON
Message:

dump 1.2.5

Location:
wp-post-expires/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-post-expires/trunk/readme.txt

    r2097005 r2411280  
    44Tags: expired post, posts expiring, expiration, expire, wordpress post expiry
    55Requires at least: 5.0
    6 Tested up to: 5.2.1
    7 Stable tag: 1.2.4
     6Tested up to: 5.5.3
     7Stable tag: 1.2.5
    88License: GPLv2
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4141
    4242== Changelog ==
     43
     44= 1.2.5 =
     45
     46fix bug loop expire. Tnx @d79 (https://github.com/d79)
     47versiob wp 5.5.3
    4348
    4449= 1.2.4 =
  • wp-post-expires/trunk/wp-post-expires.php

    r2097005 r2411280  
    33Plugin Name: WP Post Expires
    44Description: 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.4
     5Version:     1.2.5
    66Author:      XNicON
    77Author URI:  https://xnicon.ru
     
    1010Domain Path: /languages
    1111
    12 Copyright 2016-2019  XNicON  (x-icon@ya.ru)
     12Copyright 2016-2020  XNicON  (xnicon@gmail.com)
    1313
    1414WP Post Expires is free software; you can redistribute it and/or modify
     
    2828
    2929class XNPostExpires {
    30     private $plugin_version = '1.2.4';
     30    private $plugin_version = '1.2.5';
    3131    private $url_assets;
    3232    private static $timezone;
     
    266266                add_filter('display_post_states', [$this, 'addPostState'], 10, 2);
    267267            }
     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);
    268272        }
    269273    }
Note: See TracChangeset for help on using the changeset viewer.