Plugin Directory

Changeset 3296683


Ignore:
Timestamp:
05/19/2025 04:54:33 PM (10 months ago)
Author:
wpxteam
Message:

v1.2.18: * Update: Settings Framework.

Location:
product-share
Files:
56 added
7 edited

Legend:

Unmodified
Added
Removed
  • product-share/trunk/includes/class-product-share.php

    r3279203 r3296683  
    1212    protected $_plugin = 'product-share';
    1313   
    14     protected $_version = '1.2.17';
     14    protected $_version = '1.2.18';
    1515
    1616    protected static $_instance = null;
  • product-share/trunk/includes/setting-tab/general.php

    r3279203 r3296683  
    321321
    322322            // Product Wrapper Class
    323             WPXtension_Setting_Fields::text(
     323            WPXtension_Setting_Fields::textarea(
    324324                $options = array(
    325325                    'tr_class' => 'new',
  • product-share/trunk/includes/wpxtension/wpx-setting-fields.php

    r3212696 r3296683  
    305305        }
    306306
     307        public static function textarea($options = []){
     308            $pro_exists = isset( $options['pro_exists'] ) ? $options['pro_exists'] : false;
     309            $license = isset( $options['license'] ) ? $options['license'] : false;
     310            ?>
     311                <tr class="<?php echo esc_attr($options['tr_class']); ?>" valign="top" data-new-tag="<?php echo ( isset( $options['tag'] ) ) ? esc_attr($options['tag']) : ''; ?>">
     312
     313                    <td class="row-title" scope="row">
     314                        <label for="tablecell">
     315                            <?php
     316                                $label = ( $options['need_pro'] === true ) ? self::pro_not_exist($pro_exists) . esc_attr($options['label']) : esc_attr($options['label']);
     317                                echo wp_kses_post( $label );
     318                            ?>
     319                        </label>
     320                        <?php $options['need_pro'] === true ? self::pro_link($pro_exists) : ''; ?>
     321                    </td>
     322                    <td class="<?php echo esc_attr( self::disable_for_pro($options['need_pro'],$pro_exists) ); ?>">
     323                        <label>
     324                            <textarea class='regular-text<?php echo ( isset( $options['ele_class'] ) ) ? esc_attr($options['ele_class']) : ''; ?>' type='text' name='<?php echo esc_attr($options['name']); ?>' placeholder='<?php echo esc_attr($options['placeholder']); ?>'><?php echo esc_attr( $options['value'] ); ?></textarea>
     325                        </label>
     326
     327                        <?php if( isset( $options['note'] ) && $options['note'] !== ''  ): ?>
     328                            <p style="font-style: italic; color: red;"><?php echo wp_kses_post( $options['note'] ); ?></p>
     329                        <?php endif; ?>
     330
     331                        <?php if( isset( $options['note_info'] ) && $options['note_info'] !== ''  ): ?>
     332                            <p style="font-style: italic; color: #222;"><?php echo wp_kses_post( $options['note_info'] ); ?></p>
     333                        <?php endif; ?>
     334                    </td>
     335
     336                </tr>
     337            <?php
     338        }
     339
    307340    }
    308341
  • product-share/trunk/languages/product-share.pot

    r3279203 r3296683  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: product-share 1.2.17\n"
     5"Project-Id-Version: product-share 1.2.18\n"
    66"Report-Msgid-Bugs-To: WPXtension <EMAIL>\n"
    77"MIME-Version: 1.0\n"
     
    99"Content-Type: text/plain; charset=iso-8859-1\n"
    1010"Plural-Forms: nplurals=2; plural=(n!=1);\n"
    11 "POT-Creation-Date: 2025-04-22T06:39:01.901Z\n"
     11"POT-Creation-Date: 2025-05-19T09:14:04.041Z\n"
    1212"PO-Revision-Date: 2025-MO-DA HO:MI+ZONE\n"
    1313"Last-Translator: WPXtension <EMAIL>\n"
  • product-share/trunk/package.json

    r3279203 r3296683  
    11{
    22  "name": "product-share",
    3   "version": "1.2.17",
     3  "version": "1.2.18",
    44  "description": "Display social icons on the different spots of product pages to share your WooCommerce product on social media sites.",
    55  "main": "index.js",
  • product-share/trunk/product-share.php

    r3279203 r3296683  
    55 * Description: Display social icons on the different spots of product pages to share your WooCommerce product on social media.
    66 * Author: WPXtension
    7  * Version: 1.2.17
     7 * Version: 1.2.18
    88 * Domain Path: /languages
    99 * Requires at least: 5.5
  • product-share/trunk/readme.txt

    r3279203 r3296683  
    77Tested up to: 6.8
    88WC tested up to: 9.8
    9 Stable tag: 1.2.17
     9Stable tag: 1.2.18
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    160160== Changelog ==
    161161
     162= 1.2.18 [19-05-2025] =
     163* Update: Settings Framework.
     164
    162165= 1.2.17 [22-04-2025] =
    163166* Feature: More shapes for icon.
Note: See TracChangeset for help on using the changeset viewer.