Plugin Directory

Changeset 3354295


Ignore:
Timestamp:
09/02/2025 12:16:16 AM (7 months ago)
Author:
infoforte
Message:

1.8.0

  • Bug fixes and other improvements
Location:
lyxity/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lyxity/trunk/lyxity.php

    r3350309 r3354295  
    33Plugin Name: Lyxity
    44Description: The art of modern search engine optimization
    5 Version: 1.7.0
     5Version: 1.8.0
    66Author: Infoforte
    77Author URI: https://infoforte.com
     
    2020
    2121// Define plugin constants
    22 define('LYXITY_VERSION', '1.7.0');
     22define('LYXITY_VERSION', '1.8.0');
    2323define('LYXITY_FILE', __FILE__);
    2424define('LYXITY_PATH', plugin_dir_path(__FILE__));
     
    842842                        array(
    843843                            'column'    => 'post_modified', // Specify we want to query the modified date
    844                             'before'    => gmdate('Y-m-d H:i:s', strtotime('-' . intval($input_days) . ' days')),
    845                             'inclusive' => false, // Changed to false to exclude posts modified on the cutoff date
     844                            'before'    => date('Y-m-d H:i:s', strtotime('-' . intval($input_days) . ' days', current_time('timestamp'))),
     845                            'inclusive' => intval($input_days) === 0 ? true : false, // Include posts when days=0 to show recent content
    846846                        ),
    847847                    ),
  • lyxity/trunk/readme.txt

    r3350309 r3354295  
    44Requires at least: 5.0
    55Tested up to: 6.8
    6 Stable tag: 1.7.0
     6Stable tag: 1.8.0
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    113113
    114114== Changelog ==
     115= 1.8.0 =
     116- Bug fixes and other improvements
     117
    115118= 1.7.0 =
    116119- Bug fixes and other improvements
Note: See TracChangeset for help on using the changeset viewer.