Plugin Directory

Changeset 3270225


Ignore:
Timestamp:
04/10/2025 08:33:01 AM (12 months ago)
Author:
writetextai
Message:

HPOS compatibility flag

Location:
writetext-ai
Files:
225 added
4 edited

Legend:

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

    r3262683 r3270225  
    99The format is based on [Keep a Changelog](http://keepachangelog.com/)
    1010and this project adheres to [Semantic Versioning](http://semver.org/).
     11
     12## [2.0.5] - 2025-04-10
     13
     14### Changed
     15
     16- Declare WooCommerce HPOS compatibility.
    1117
    1218## [2.0.4] - 2025-03-27
  • writetext-ai/trunk/assets/js/admin-common.js

    r3262683 r3270225  
    22/* jshint -W117 */
    33
    4 console.log('WriteText.ai - Version: [2.0.4] - 2025-03-27 - 5');
     4console.log('WriteText.ai - Version: [2.0.5] - 2025-04-10 - 1');
    55
    66jQuery( document ).ready( function( $ ){
  • writetext-ai/trunk/readme.txt

    r3262683 r3270225  
    55Requires at least: 6.0
    66Tested up to: 6.7
    7 Stable tag: 2.0.4
     7Stable tag: 2.0.5
    88Requires PHP: 7.4
    99License: GPLv3 or later
     
    165165
    166166== Changelog ==
     167
     168= 2.0.5 2025-04-10 =
     169
     170* Update - Declare WooCommerce HPOS compatibility.
    167171
    168172= 2.0.4 2025-03-27 =
     
    413417== Upgrade Notice ==
    414418
    415 = 2.0.4 =
     419= 2.0.5 =
    416420
    417421Please upgrade, to ensure all plugin features works as expected.
  • writetext-ai/trunk/writetext-ai.php

    r3262683 r3270225  
    44 * Plugin URI: https://writetext.ai/woocommerce
    55 * Description: Let AI automatically generate product descriptions and other content from your product data.
    6  * Version: 2.0.4
     6 * Version: 2.0.5
    77 * Author:  1902 Software
    88 * Author URI: https://writetext.ai/
     
    5252
    5353    if ( ! defined( 'WTAI_VERSION' ) ) {
    54         define( 'WTAI_VERSION', '2.0.4' );
     54        define( 'WTAI_VERSION', '2.0.5' );
    5555    }
    5656
     
    12601260    }
    12611261
     1262    // Add compatibility with HPOS.
     1263    // Note: WriteText AI does not use custom order tables.
     1264    add_action(
     1265        'before_woocommerce_init',
     1266        function () {
     1267            if ( class_exists( \Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
     1268                \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
     1269            }
     1270        }
     1271    );
     1272
    12621273    include_once WTAI_ABSPATH . 'includes/class-wtai-init.php';
    12631274}
Note: See TracChangeset for help on using the changeset viewer.