💥 TRENDING: Changeset/ - High Quality

Changeset 3219737


Ignore:
Timestamp:
01/09/2025 04:07:03 PM (12 months ago)
Author:
shvv
Message:

chore: release 0.9

Location:
woo-product-add-tab
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • woo-product-add-tab/tags/0.9/readme.txt

    r1277600 r3219737  
    22Contributors: shvv
    33Tags: woocommerce
    4 Requires at least: 3.0.1
    5 Tested up to: 4.3.1
    6 Stable tag: 0.8
     4Requires at least: 6.2
     5Tested up to: 6.7.1
     6Requires PHP: 7.4
     7WC requires at least: 8.0
     8WC tested up to: 9.5.2
     9Stable tag: 0.9
    710License: GPLv2 or later
    811License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1316
    1417After activating the plugin, you can create new tabs, change their order and add unique content for each product.
    15 
    16 Tested with WooCommerce 2.4.6.
    1718
    1819== Installation ==
     
    3233Tabs priority determine its position in relation to other tabs. Standard tabs on the product page have the following priority: **Description** - 10, **Additional Information** (shown only when you specify the weight or size) - 20, **Reviews** - 30. For example, for place tab on second place set priority - 15.
    3334
     35== Changelog ==
    3436
    35 == Changelog ==
     37= 0.9 =
     38* WordPress 6.7 and Woo 9.5 compatibility.
    3639
    3740= 0.8 =
  • woo-product-add-tab/tags/0.9/woocommerce-add-tab.php

    r1277600 r3219737  
    33 * Plugin Name: Woo Product Add Tab
    44 * Plugin URI: https://github.com/shvlv/woocommerce-add-tab
    5  * Description: Plugin allows you to add additional tabs on the product page in WooCommerce
    6  * Version: 0.8
     5 * Description: Plugin allows you to add additional tabs on the product page in WooCommerce.
     6 * Version: 0.9
    77 * Author: shvv
    88 * Author URI: http://shvlv.github.io/
    99 * License: GPLv2 or later
    10  * Tested up to: 4.3
     10 * Requires at least: 6.2
     11 * Tested up to: 6.7.1
     12 * Requires PHP: 7.4
     13 * WC requires at least: 8.0
     14 * WC tested up to: 9.5.2
    1115 * Text Domain: woocommerce-add-tab
    1216 * Domain Path: /languages/
    13  *
    14  *
    1517 */
     18
    1619if ( ! defined( 'ABSPATH' ) ) {
    1720    exit; // Exit if accessed directly
     
    5760
    5861            add_action('woocommerce_product_write_panel_tabs', array($this,'panel_tabs'));
    59             add_action('woocommerce_product_write_panels', array($this,'options_tabs'));
     62            add_action('woocommerce_product_data_panels', array($this,'options_tabs'));
    6063            add_action('woocommerce_process_product_meta', array($this,'save_options'), 10, 2);
    6164
     
    6669
    6770            /**
    68              * Admin Wordpress hook
     71             * Admin WordPress hook
    6972             */
    7073
     
    118121                            'show_in_menu' => 'edit.php?post_type=product',
    119122                            'show_in_nav_menus' => true,
    120                             'supports' => 'title',
     123                            'supports' => array('title'),