🔞 ADULT: Changeset/ - Full Gallery 2025

Changeset 2676815


Ignore:
Timestamp:
02/11/2022 02:30:43 AM (4 years ago)
Author:
varunms
Message:

Update to version 4.6.1 from GitHub

Location:
wc-product-subtitle
Files:
22 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wc-product-subtitle/tags/4.6.1/i18n/wc-product-subtitle.pot

    r2676353 r2676815  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Product Subtitle For WooCommerce 4.6\n"
     5"Project-Id-Version: Product Subtitle For WooCommerce 4.6.1\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wc-product-subtitle\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2022-02-10T18:15:59+05:30\n"
     12"POT-Creation-Date: 2022-02-11T07:55:43+05:30\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.2.0\n"
  • wc-product-subtitle/tags/4.6.1/includes/abstract-display-handler.php

    r2676353 r2676815  
    6464     */
    6565    public function the_subtitle( $pid = '' ) {
    66         echo $this->render_subtitle( $pid );
     66        echo wp_kses_post( $this->render_subtitle( $pid ) );
    6767    }
    6868
  • wc-product-subtitle/tags/4.6.1/includes/admin/class-order-render.php

    r2676353 r2676815  
    3333        if ( ! empty( $product_id ) ) {
    3434            $title    = __( 'Subtitle:', 'wc-product-subtitle' );
    35             $subtitle = wcps_get_subtitle( $product_id );
     35            $subtitle = wp_kses_post( wcps_get_subtitle( $product_id ) );
    3636            if ( ! empty( $subtitle ) ) {
    3737                echo "<div class=\"wc-product-subtitle\" style='color:#888; font-style: italic;font-size: .92em !important;'> <strong>${title}</strong> ${subtitle} </div>";
  • wc-product-subtitle/tags/4.6.1/includes/admin/product/class-render.php

    r2676353 r2676815  
    4444        switch ( $column ) {
    4545            case 'subtitle':
    46                 echo wcps_get_subtitle( $post_id );
     46                echo wp_kses_post( wcps_get_subtitle( $post_id ) );
    4747                break;
    4848            case 'name':
    49                 echo '<br/><span style="margin-top:4px;display: inline-block;"><i>' . wcps_get_subtitle( $post_id ) . '</i></span>';
     49                echo '<br/><span style="margin-top:4px;display: inline-block;"><i>' . wp_kses_post( wcps_get_subtitle( $post_id ) ) . '</i></span>';
    5050                break;
    5151        }
  • wc-product-subtitle/tags/4.6.1/includes/class-email.php

    r2675393 r2676815  
    4646        $subtitle = $option['before_subtitle'] . $this->render_subtitle( $item->get_product_id() ) . $option['after_subtitle'];
    4747        if ( $plain_text ) {
    48             echo wp_strip_all_tags( $subtitle );
     48            echo esc_html( $subtitle );
    4949        } else {
    50             echo $subtitle;
     50            echo wp_kses_post( $subtitle );
    5151        }
    5252    }
  • wc-product-subtitle/tags/4.6.1/includes/class-integrations.php

    r2676353 r2676815  
    4242        $subtitle = wcps_get_subtitle( $item['product']->get_id() );
    4343        if ( ! empty( $subtitle ) ) {
    44             echo '<div class="product-subtitle"><small>' . __( 'Subtitle :', 'wc-product-subtitle' ) . ' ' . $subtitle . '</small></div>';
     44            echo '<div class="product-subtitle"><small>' . __( 'Subtitle :', 'wc-product-subtitle' ) . ' ' . wp_kses_post( $subtitle ) . '</small></div>';
    4545        }
    4646    }
  • wc-product-subtitle/tags/4.6.1/readme.txt

    r2676353 r2676815  
    77WC requires at least: 3.0
    88WC tested up to: 6.1.1
    9 Stable tag: 4.6
     9Stable tag: 4.6.1
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9393
    9494== Changelog ==
     95= 4.6.1 =
     96* Improved Content Escaping
     97
    9598= 4.6 =
    9699* Renamed `wp_product_subtitle_placements` to `wcps_subtitle_placement_areas`
  • wc-product-subtitle/tags/4.6.1/vendor/autoload.php

    r2676353 r2676815  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInitfd6cf5bb751756862b0b94d75bdb0ef7::getLoader();
     7return ComposerAutoloaderInitb28e7ee26d09c22cc7819220e7d4f415::getLoader();
  • wc-product-subtitle/tags/4.6.1/vendor/composer/autoload_real.php

    r2676353 r2676815  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInitfd6cf5bb751756862b0b94d75bdb0ef7
     5class ComposerAutoloaderInitb28e7ee26d09c22cc7819220e7d4f415
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInitfd6cf5bb751756862b0b94d75bdb0ef7', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInitb28e7ee26d09c22cc7819220e7d4f415', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    27         spl_autoload_unregister(array('ComposerAutoloaderInitfd6cf5bb751756862b0b94d75bdb0ef7', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInitb28e7ee26d09c22cc7819220e7d4f415', 'loadClassLoader'));
    2828
    2929        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3131            require_once __DIR__ . '/autoload_static.php';
    3232
    33             call_user_func(\Composer\Autoload\ComposerStaticInitfd6cf5bb751756862b0b94d75bdb0ef7::getInitializer($loader));
     33            call_user_func(\Composer\Autoload\ComposerStaticInitb28e7ee26d09c22cc7819220e7d4f415::getInitializer($loader));
    3434        } else {
    3535            $map = require __DIR__ . '/autoload_namespaces.php';
     
    5252
    5353        if ($useStaticLoader) {
    54             $includeFiles = Composer\Autoload\ComposerStaticInitfd6cf5bb751756862b0b94d75bdb0ef7::$files;
     54            $includeFiles = Composer\Autoload\ComposerStaticInitb28e7ee26d09c22cc7819220e7d4f415::$files;
    5555        } else {
    5656            $includeFiles = require __DIR__ . '/autoload_files.php';
    5757        }
    5858        foreach ($includeFiles as $fileIdentifier => $file) {
    59             composerRequirefd6cf5bb751756862b0b94d75bdb0ef7($fileIdentifier, $file);
     59            composerRequireb28e7ee26d09c22cc7819220e7d4f415($fileIdentifier, $file);
    6060        }
    6161
     
    6464}
    6565
    66 function composerRequirefd6cf5bb751756862b0b94d75bdb0ef7($fileIdentifier, $file)
     66function composerRequireb28e7ee26d09c22cc7819220e7d4f415($fileIdentifier, $file)
    6767{
    6868    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • wc-product-subtitle/tags/4.6.1/vendor/composer/autoload_static.php

    r2676353 r2676815  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInitfd6cf5bb751756862b0b94d75bdb0ef7
     7class ComposerStaticInitb28e7ee26d09c22cc7819220e7d4f415
    88{
    99    public static $files = array (
     
    6868    {
    6969        return \Closure::bind(function () use ($loader) {
    70             $loader->prefixLengthsPsr4 = ComposerStaticInitfd6cf5bb751756862b0b94d75bdb0ef7::$prefixLengthsPsr4;
    71             $loader->prefixDirsPsr4 = ComposerStaticInitfd6cf5bb751756862b0b94d75bdb0ef7::$prefixDirsPsr4;
    72             $loader->classMap = ComposerStaticInitfd6cf5bb751756862b0b94d75bdb0ef7::$classMap;
     70            $loader->prefixLengthsPsr4 = ComposerStaticInitb28e7ee26d09c22cc7819220e7d4f415::$prefixLengthsPsr4;
     71            $loader->prefixDirsPsr4 = ComposerStaticInitb28e7ee26d09c22cc7819220e7d4f415::$prefixDirsPsr4;
     72            $loader->classMap = ComposerStaticInitb28e7ee26d09c22cc7819220e7d4f415::$classMap;
    7373
    7474        }, null, ClassLoader::class);
  • wc-product-subtitle/tags/4.6.1/wc-product-subtitle.php

    r2676353 r2676815  
    44 * Plugin URI: https://wordpress.org/plugins/wc-product-subtitle
    55 * Description: Create Custom Product Subtitle For WooCommerce Products.
    6  * Version: 4.6
     6 * Version: 4.6.1
    77 * Author: Varun Sridharan
    88 * Author URI: http://varunsridharan.in
     
    1717use Varunsridharan\WordPress\Plugin_Version_Management;
    1818
    19 defined( 'WCPS_VERSION' ) || define( 'WCPS_VERSION', '4.6' );
     19defined( 'WCPS_VERSION' ) || define( 'WCPS_VERSION', '4.6.1' );
    2020defined( 'WCPS_FILE' ) || define( 'WCPS_FILE', __FILE__ );
    2121defined( 'WCPS_NAME' ) || define( 'WCPS_NAME', __( 'Product Subtitle For WooCommerce', 'wc-product-subtitle' ) );
  • wc-product-subtitle/trunk/i18n/wc-product-subtitle.pot

    r2676353 r2676815  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Product Subtitle For WooCommerce 4.6\n"
     5"Project-Id-Version: Product Subtitle For WooCommerce 4.6.1\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wc-product-subtitle\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2022-02-10T18:15:59+05:30\n"
     12"POT-Creation-Date: 2022-02-11T07:55:43+05:30\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.2.0\n"
  • wc-product-subtitle/trunk/includes/abstract-display-handler.php

    r2676353 r2676815  
    6464     */
    6565    public function the_subtitle( $pid = '' ) {
    66         echo $this->render_subtitle( $pid );
     66        echo wp_kses_post( $this->render_subtitle( $pid ) );
    6767    }
    6868
  • wc-product-subtitle/trunk/includes/admin/class-order-render.php

    r2676353 r2676815  
    3333        if ( ! empty( $product_id ) ) {
    3434            $title    = __( 'Subtitle:', 'wc-product-subtitle' );
    35             $subtitle = wcps_get_subtitle( $product_id );
     35            $subtitle = wp_kses_post( wcps_get_subtitle( $product_id ) );
    3636            if ( ! empty( $subtitle ) ) {
    3737                echo "<div class=\"wc-product-subtitle\" style='color:#888; font-style: italic;font-size: .92em !important;'> <strong>${title}</strong> ${subtitle} </div>";
  • wc-product-subtitle/trunk/includes/admin/product/class-render.php

    r2676353 r2676815  
    4444        switch ( $column ) {
    4545            case 'subtitle':
    46                 echo wcps_get_subtitle( $post_id );