Plugin Directory

Changeset 3267787


Ignore:
Timestamp:
04/07/2025 11:02:02 AM (10 months ago)
Author:
nachomd
Message:

1.15 fix minor erros

Location:
easy-gpt-for-wp
Files:
71 added
3 edited

Legend:

Unmodified
Added
Removed
  • easy-gpt-for-wp/trunk/easy-gpt-for-wp.php

    r3267752 r3267787  
    44 * Plugin URI: https://easygptforwp.com/
    55 * Description: Integrates OpenAI GPT functionalities to automatically generate content and manage SEO in WordPress.
    6  * Version: 1.14
     6 * Version: 1.15
    77 * Author: Ignacio Gil Alvarez
    88 * Author URI: https://morris34.com/
  • easy-gpt-for-wp/trunk/includes/easy-gpt-refresh-processing.php

    r3267752 r3267787  
    1212    if (empty($options['easy_gpt_refresh_enabled'])) {
    1313        error_log("[EasyGPT] ❌ Article refresher disabled in settings.");
     14        return;
     15    }
     16
     17    $license_status = get_option('easy_gpt_license_status');
     18    $license_expires = get_option('easy_gpt_license_expires');
     19    $is_license_valid = $license_status === 'valid' && new DateTime($license_expires) > new DateTime();
     20    if ( ! $is_license_valid ) {
     21        error_log("[EasyGPT] ❌ Article refresh blocked: license invalid or expired.");
    1422        return;
    1523    }
  • easy-gpt-for-wp/trunk/readme.txt

    r3267752 r3267787  
    55Tested up to: 6.7.2
    66Requires PHP: 7.3
    7 Stable tag: 1.14
     7Stable tag: 1.15
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    153153
    154154== Changelog ==
     155= 1.15 =
     156* Fix minor errors.
     157
    155158= 1.14 =
    156159* Introduced "just-in-time" generation mode: articles are now generated close to their scheduled publish time, based on the WordPress cron schedule.
Note: See TracChangeset for help on using the changeset viewer.