Plugin Directory

Changeset 2944583


Ignore:
Timestamp:
07/28/2023 11:16:23 AM (3 years ago)
Author:
SkyVerge
Message:

Committing 1.8.0 to trunk

Location:
woocommerce-custom-product-tabs-lite/trunk
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • woocommerce-custom-product-tabs-lite/trunk/i18n/languages/woocommerce-custom-product-tabs-lite.pot

    r2827929 r2944583  
    1 # Copyright (C) 2022 SkyVerge
     1# Copyright (C) 2023 SkyVerge
    22# This file is distributed under the GNU General Public License v3.0.
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Custom Product Tabs Lite for WooCommerce 1.7.8\n"
     5"Project-Id-Version: Custom Product Tabs Lite for WooCommerce 1.8.0\n"
    66"Report-Msgid-Bugs-To: "
    77"https://woocommerce.com/my-account/marketplace-ticket-form/\n"
    8 "POT-Creation-Date: 2022-12-02 21:01:11+00:00\n"
     8"POT-Creation-Date: 2023-07-28 11:15:57+00:00\n"
    99"MIME-Version: 1.0\n"
    1010"Content-Type: text/plain; charset=utf-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "PO-Revision-Date: 2022-MO-DA HO:MI+ZONE\n"
     12"PO-Revision-Date: 2023-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    1414"Language-Team: LANGUAGE <LL@li.org>\n"
    1515
    16 #: woocommerce-custom-product-tabs-lite.php:81
     16#: woocommerce-custom-product-tabs-lite.php:102
    1717#. translators: Placeholders: %s - plugin name
    1818msgid "You cannot clone instances of %s."
    1919msgstr ""
    2020
    21 #: woocommerce-custom-product-tabs-lite.php:92
     21#: woocommerce-custom-product-tabs-lite.php:113
    2222#. translators: Placeholders: %s - plugin name
    2323msgid "You cannot unserialize instances of %s."
    2424msgstr ""
    2525
    26 #: woocommerce-custom-product-tabs-lite.php:204
     26#: woocommerce-custom-product-tabs-lite.php:225
    2727msgid "Custom Tab"
    2828msgstr ""
    2929
    30 #: woocommerce-custom-product-tabs-lite.php:238
     30#: woocommerce-custom-product-tabs-lite.php:259
    3131msgid "Tab Title"
    3232msgstr ""
    3333
    34 #: woocommerce-custom-product-tabs-lite.php:239
     34#: woocommerce-custom-product-tabs-lite.php:260
    3535msgid "Required for tab to be visible"
    3636msgstr ""
    3737
    38 #: woocommerce-custom-product-tabs-lite.php:245
     38#: woocommerce-custom-product-tabs-lite.php:266
    3939msgid "Content"
    4040msgstr ""
    4141
    42 #: woocommerce-custom-product-tabs-lite.php:246
     42#: woocommerce-custom-product-tabs-lite.php:267
    4343msgid "HTML and text to display."
    4444msgstr ""
    4545
    46 #: woocommerce-custom-product-tabs-lite.php:406
     46#: woocommerce-custom-product-tabs-lite.php:427
    4747#. translators: Placeholders: %1$s - <strong>, %2$s - </strong>, %3$s - version
    4848#. number, %4$s + %6$s - <a> tags, %5$s - </a>
  • woocommerce-custom-product-tabs-lite/trunk/readme.txt

    r2827929 r2944583  
    44Requires at least: 5.6
    55Requires PHP: 7.4
    6 Tested up to: 6.1.1
    7 Stable tag: 1.7.8
     6Tested up to: 6.2.2
     7Stable tag: 1.8.0
    88
    99This plugin extends WooCommerce by allowing a custom product tab to be created with any content.
     
    8181
    8282== Changelog ==
     83
     84= 2023.07.28 - version 1.8.0 =
     85 * Misc - Add compatibility for WooCommerce High Performance Order Storage (HPOS)
    8386
    8487= 2022.12.02 - version 1.7.8 =
  • woocommerce-custom-product-tabs-lite/trunk/woocommerce-custom-product-tabs-lite.php

    r2827929 r2944583  
    66 * Author: SkyVerge
    77 * Author URI: http://www.skyverge.com/
    8  * Version: 1.7.8
    9  * Tested up to: 6.1.1
     8 * Version: 1.8.0
     9 * Tested up to: 6.2.2
    1010 * Text Domain: woocommerce-custom-product-tabs-lite
    1111 * Domain Path: /i18n/languages/
    1212 *
    13  * Copyright: (c) 2012-2022, SkyVerge, Inc. (info@skyverge.com)
     13 * Copyright: (c) 2012-2023, SkyVerge, Inc. (info@skyverge.com)
    1414 *
    1515 * License: GNU General Public License v3.0
     
    1717 *
    1818 * @author      SkyVerge
    19  * @copyright   Copyright (c) 2012-2022, SkyVerge, Inc. (info@skyverge.com)
     19 * @copyright   Copyright (c) 2012-2023, SkyVerge, Inc. (info@skyverge.com)
    2020 * @license     http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
    2121 *
    2222 * WC requires at least: 3.9.4
    23  * WC tested up to: 7.1.0
     23 * WC tested up to: 7.9.0
    2424 */
    2525
     
    4141
    4242    /** plugin version number */
    43     const VERSION = '1.7.8';
     43    const VERSION = '1.8.0';
    4444
    4545    /** required WooCommerce version number */
     
    5757
    5858    /**
    59      * Gets things started by adding an action to initialize this plugin once
    60      * WooCommerce is known to be active and initialized
     59     * Gets things started by adding an action to initialize this plugin once WooCommerce is known to be active and initialized.
     60     *
     61     * @since 1.0.0
    6162     */
    6263    public function __construct() {
     
    6970        add_action( 'init',             array( $this, 'load_translation' ) );
    7071        add_action( 'woocommerce_init', array( $this, 'init' ) );
     72
     73        // handle HPOS compatibility
     74        add_action( 'before_woocommerce_init', [ $this, 'handle_hpos_compatibility' ] );
     75    }
     76
     77
     78    /**
     79     * Declares HPOS compatibility.
     80     *
     81     * @since 1.8.0
     82     *
     83     * @internal
     84     *
     85     * @return void
     86     */
     87    public function handle_hpos_compatibility()
     88    {
     89        if ( class_exists(\Automattic\WooCommerce\Utilities\FeaturesUtil::class ) ) {
     90            \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', plugin_basename( __FILE__ ), true );
     91        }
    7192    }
    7293
Note: See TracChangeset for help on using the changeset viewer.