Plugin Directory

Changeset 1478078


Ignore:
Timestamp:
08/18/2016 06:04:36 PM (10 years ago)
Author:
X-NicON
Message:

fix errors

Location:
wp-post-expires
Files:
3 deleted
2 edited
9 copied

Legend:

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

    r1477304 r1478078  
    11=== WP Post Expires ===
    22Contributors: X-NicON
    3 Donate link:
     3Donate link: https://xnicon.ru/donate-wp-post-expires
    44Tags: expired post, posts expiring, expiration, expire, wordpress post expiry
    55Requires at least: 3.0
    66Tested up to: 4.6
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88License: GPLv2
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4040== Changelog ==
    4141
     42= 1.0.2 =
     43
     44fix notice and accessing static property
     45
    4246= 1.0.1 =
    4347fixed translation
  • wp-post-expires/tags/1.0.2/wp-post-expires.php

    r1477304 r1478078  
    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.0
     5Version:     1.0.2
    66Author:      X-NicON
    7 Author URI:  http://xnicon.ru
     7Author URI:  https://xnicon.ru
    88License:     GPL2
    99Text Domain: wp-post-expires
     
    3030
    3131    private $url_assets;
    32     public static $settings = array();
     32    public $settings = array();
    3333
    3434    public function __construct() {
     
    6262
    6363        if(!isset($settings_load['action'])) {
    64             $this->settings['action'] = 'add_prefix';
     64            $settings_load['action'] = 'add_prefix';
    6565        }
    6666
     
    215215    }
    216216
    217     function xn_wppe_is_expired($post_id = 0){
     217    public static function xn_wppe_is_expired($post_id = 0){
    218218
    219219        $expires = get_post_meta($post_id, 'xn-wppe-expiration', true);
  • wp-post-expires/trunk/readme.txt

    r1477304 r1478078  
    11=== WP Post Expires ===
    22Contributors: X-NicON
    3 Donate link:
     3Donate link: https://xnicon.ru/donate-wp-post-expires
    44Tags: expired post, posts expiring, expiration, expire, wordpress post expiry
    55Requires at least: 3.0
    66Tested up to: 4.6
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88License: GPLv2
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4040== Changelog ==
    4141
     42= 1.0.2 =
     43
     44fix notice and accessing static property
     45
    4246= 1.0.1 =
    4347fixed translation
  • wp-post-expires/trunk/wp-post-expires.php

    r1477304 r1478078  
    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.0
     5Version:     1.0.2
    66Author:      X-NicON
    7 Author URI:  http://xnicon.ru
     7Author URI:  https://xnicon.ru
    88License:     GPL2
    99Text Domain: wp-post-expires
     
    3030
    3131    private $url_assets;
    32     public static $settings = array();
     32    public $settings = array();
    3333
    3434    public function __construct() {
     
    6262
    6363        if(!isset($settings_load['action'])) {
    64             $this->settings['action'] = 'add_prefix';
     64            $settings_load['action'] = 'add_prefix';
    6565        }
    6666
     
    215215    }
    216216
    217     function xn_wppe_is_expired($post_id = 0){
     217    public static function xn_wppe_is_expired($post_id = 0){
    218218
    219219        $expires = get_post_meta($post_id, 'xn-wppe-expiration', true);
Note: See TracChangeset for help on using the changeset viewer.