Plugin Directory

Changeset 3161164


Ignore:
Timestamp:
10/02/2024 02:19:34 AM (18 months ago)
Author:
writetextai
Message:

hotfix for force update

Location:
writetext-ai
Files:
161 added
6 edited

Legend:

Unmodified
Added
Removed
  • writetext-ai/trunk/CHANGELOG.md

    r3160356 r3161164  
    1010and this project adheres to [Semantic Versioning](http://semver.org/).
    1111
     12## [1.40.3] - 2024-10-02
     13
     14### Changed
     15
     16- Minor readme.txt updates.
     17
     18### Fixed
     19
     20- Remove other settings in footer when force plugin update is effective.
     21
    1222## [1.40.2] - 2024-10-01
     23
     24### Changed
     25
     26* Update - Minor readme.txt updates.
     27* Update - Popup blocker label update for the settings page.
     28
     29## [1.40.1] - 2024-10-01
    1330
    1431### Added
     
    2946- Updated the menu to include a link to the category text generation page.
    3047- Updated the grid to include a headline to differentiate between Products and Categories pages.
    31 - Updated the error message when tickinig Mark as reviewed for a product without any generated text yet.
     48- Updated the error message when ticking Mark as reviewed for a product without any generated text yet.
    3249- Updated some user preference for the product category: Highlight keywords, show text on preview, pre selected text types, highlight incorrect.pronouns.
    3350- Display country popup in category page if not yet selected.
  • writetext-ai/trunk/assets/js/admin-common.js

    r3160289 r3161164  
    22/* jshint -W117 */
    33
    4 console.log('WriteText.ai - Version: [1.40.2] - 2024-10-01 - 1');
     4console.log('WriteText.ai - Version: [1.40.3 - 2024-10-02 - 1');
    55
    66jQuery( document ).ready( function( $ ){
  • writetext-ai/trunk/includes/class-wtai-api-services.php

    r3160274 r3161164  
    498498
    499499        if ( ! $token ) {
     500            update_option( 'wtai_force_version_update', '' );
     501            update_option( 'wtai_latest_version_outdated', '' );
     502            update_option( 'wtai_latest_version_available', '' );
     503            update_option( 'wtai_latest_version_message', '' );
     504
    500505            return;
    501506        }
  • writetext-ai/trunk/readme.txt

    r3161141 r3161164  
    55Requires at least: 6.0
    66Tested up to: 6.6.2
    7 Stable tag: 1.40.2
     7Stable tag: 1.40.3
    88Requires PHP: 7.4
    99License: GPLv3 or later
     
    164164== Changelog ==
    165165
     166= 1.40.3 2024-10-02 =
     167
     168* Update - Minor readme.txt updates.
     169* Fix - Remove other settings in footer when force plugin update is effective.
     170
    166171= 1.40.2 2024-10-01 =
     172
     173* Update - Minor readme.txt updates.
     174* Update - Popup blocker label update for the settings page.
     175
     176= 1.40.1 2024-10-01 =
    167177
    168178* Add - Spellcheck suggestion for selected keywords.
     
    640650== Upgrade Notice ==
    641651
    642 = 1.40.2 =
     652= 1.40.3 =
    643653
    644654Please upgrade, to ensure all plugin features works as expected.
  • writetext-ai/trunk/templates/admin/footer.php

    r3156020 r3161164  
    3939    $available_credit_count = $credit_account_details['available_credits'];
    4040    $credit_count_label     = wtai_get_available_credit_label( $available_credit_count );
     41}
     42
     43if ( '1' === get_option( 'wtai_latest_version_outdated' ) || '1' === get_option( 'wtai_force_version_update' ) ) {
     44    $hide_other_settings  = ' display: none; ';
     45    $hide_credit_settings = ' display: none; ';
    4146}
    4247?>
  • writetext-ai/trunk/writetext-ai.php

    r3160289 r3161164  
    44 * Plugin URI: https://writetext.ai/woocommerce
    55 * Description: Let AI automatically generate product descriptions and other content from your product data.
    6  * Version: 1.40.2
     6 * Version: 1.40.3
    77 * Author:  1902 Software
    88 * Author URI: https://writetext.ai/
     
    5656
    5757    if ( ! defined( 'WTAI_VERSION' ) ) {
    58         define( 'WTAI_VERSION', '1.40.2' );
     58        define( 'WTAI_VERSION', '1.40.3' );
    5959    }
    6060
Note: See TracChangeset for help on using the changeset viewer.