Plugin Directory

Changeset 3144521


Ignore:
Timestamp:
08/31/2024 04:11:25 AM (19 months ago)
Author:
wcboost
Message:

tagging version 1.1.3

Location:
wcboost-wishlist
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wcboost-wishlist/tags/1.1.3/includes/compatibility.php

    r3113521 r3144521  
    4040            // Always use the same item key for removing actions.
    4141            add_filter( 'wcboost_wishlist_item_key', [ $this, 'translate_item_key_to_default' ], 10, 3 );
     42
     43            // Translate the wishlist page ID.
     44            add_filter( 'option_wcboost_wishlist_page_id', [ $this, 'translate_option_wishlist_page_id' ] );
    4245        }
    4346    }
     
    137140        return md5( implode( '_', [ $product_id, $variation_id ] ) );
    138141    }
     142
     143    /**
     144     * Translate the option of wishlist page id
     145     *
     146     * @param  int $page_id
     147     *
     148     * @return int
     149     */
     150    public function translate_option_wishlist_page_id( $page_id ) {
     151        return apply_filters( 'wpml_object_id', $page_id, 'page' );
     152    }
    139153}
    140154
  • wcboost-wishlist/tags/1.1.3/includes/plugin.php

    r3132036 r3144521  
    236236        $page_id = get_option( 'wcboost_wishlist_page_id' );
    237237
    238         return $page_id;
     238        return absint( $page_id );
    239239    }
    240240
  • wcboost-wishlist/tags/1.1.3/languages/wcboost-wishlist.pot

    r3132036 r3144521  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: WCBoost - Wishlist 1.1.2\n"
     5"Project-Id-Version: WCBoost - Wishlist 1.1.3\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wcboost-wishlist\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: 2024-08-07T08:39:23+00:00\n"
     12"POT-Creation-Date: 2024-08-31T03:59:37+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.10.0\n"
     14"X-Generator: WP-CLI 2.9.0\n"
    1515"X-Domain: wcboost-wishlist\n"
    1616
    1717#. Plugin Name of the plugin
    18 #: wcboost-wishlist.php
    1918msgid "WCBoost - Wishlist"
    2019msgstr ""
    2120
    2221#. Plugin URI of the plugin
    23 #: wcboost-wishlist.php
    2422msgid "https://wcboost.com/plugin/woocommerce-wishlist/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash"
    2523msgstr ""
    2624
    2725#. Description of the plugin
    28 #: wcboost-wishlist.php
    2926msgid "Our WooCommerce Wishlist plugin enables customers to create personalized collections of products that they like but aren't ready to purchase immediately. Enhance the shopping experience by saving products for further consideration, making decisions easier than ever."
    3027msgstr ""
    3128
    3229#. Author of the plugin
    33 #: wcboost-wishlist.php
    3430msgid "WCBoost"
    3531msgstr ""
    3632
    3733#. Author URI of the plugin
    38 #: wcboost-wishlist.php
    3934msgid "https://wcboost.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash"
    4035msgstr ""
  • wcboost-wishlist/tags/1.1.3/readme.txt

    r3132036 r3144521  
    33Tags: woocommerce wishlist, wishlist, products, e-commerce, woocommerce
    44Tested up to: 6.6
    5 Stable tag: 1.1.2
     5Stable tag: 1.1.3
    66Requires PHP: 7.0
    77Requires at least: 4.5
    88WC requires at least: 3.0.0
    9 WC tested up to: 9.1
     9WC tested up to: 9.2
    1010License: GPLv3
    1111License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    9595== Changelog ==
    9696
     97= 1.1.3 =
     98- Fix - Resolved compatibility issues with WPML.
     99
    97100= 1.1.2 =
    98101- Fix - Fix issues with guest wishlists.
  • wcboost-wishlist/tags/1.1.3/wcboost-wishlist.php

    r3132036 r3144521  
    55 * Plugin URI: https://wcboost.com/plugin/woocommerce-wishlist/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
    66 * Author: WCBoost
    7  * Version: 1.1.2
     7 * Version: 1.1.3
    88 * Author URI: https://wcboost.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash
    99 *
     
    1515 * Tested up to: 6.6
    1616 * WC requires at least: 3.0.0
    17  * WC tested up to: 9.1
     17 * WC tested up to: 9.2
    1818 *
    1919 * @package WCBoost
  • wcboost-wishlist/trunk/includes/compatibility.php

    r3113521 r3144521  
    4040            // Always use the same item key for removing actions.
    4141            add_filter( 'wcboost_wishlist_item_key', [ $this, 'translate_item_key_to_default' ], 10, 3 );
     42
     43            // Translate the wishlist page ID.
     44            add_filter( 'option_wcboost_wishlist_page_id', [ $this, 'translate_option_wishlist_page_id' ] );
    4245        }
    4346    }
     
    137140        return md5( implode( '_', [ $product_id, $variation_id ] ) );
    138141    }
     142
     143    /**
     144     * Translate the option of wishlist page id
     145     *
     146     * @param  int $page_id
     147     *
     148     * @return int
     149     */
     150    public function translate_option_wishlist_page_id( $page_id ) {
     151        return apply_filters( 'wpml_object_id', $page_id, 'page' );
     152    }
    139153}
    140154
  • wcboost-wishlist/trunk/includes/plugin.php

    r3132036 r3144521  
    236236        $page_id = get_option( 'wcboost_wishlist_page_id' );
    237237
    238         return $page_id;
     238        return absint( $page_id );
    239239    }
    240240
  • wcboost-wishlist/trunk/languages/wcboost-wishlist.pot

    r3132036 r3144521  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: WCBoost - Wishlist 1.1.2\n"
     5"Project-Id-Version: WCBoost - Wishlist 1.1.3\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wcboost-wishlist\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: 2024-08-07T08:39:23+00:00\n"
     12"POT-Creation-Date: 2024-08-31T03:59:37+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.10.0\n"
     14"X-Generator: WP-CLI 2.9.0\n"
    1515"X-Domain: wcboost-wishlist\n"
    1616
    1717#. Plugin Name of the plugin
    18 #: wcboost-wishlist.php
    1918msgid "WCBoost - Wishlist"
    2019msgstr ""
    2120
    2221#. Plugin URI of the plugin
    23 #: wcboost-wishlist.php
    2422msgid "https://wcboost.com/plugin/woocommerce-wishlist/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash"
    2523msgstr ""
    2624
    2725#. Description of the plugin
    28 #: wcboost-wishlist.php
    2926msgid "Our WooCommerce Wishlist plugin enables customers to create personalized collections of products that they like but aren't ready to purchase immediately. Enhance the shopping experience by saving products for further consideration, making decisions easier than ever."
    3027msgstr ""
    3128
    3229#. Author of the plugin
    33 #: wcboost-wishlist.php
    3430msgid "WCBoost"
    3531msgstr ""
    3632
    3733#. Author URI of the plugin
    38 #: wcboost-wishlist.php
    3934msgid "https://wcboost.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash"
    4035msgstr ""
  • wcboost-wishlist/trunk/readme.txt

    r3132036 r3144521  
    33Tags: woocommerce wishlist, wishlist, products, e-commerce, woocommerce
    44Tested up to: 6.6
    5 Stable tag: 1.1.2
     5Stable tag: 1.1.3
    66Requires PHP: 7.0
    77Requires at least: 4.5
    88WC requires at least: 3.0.0
    9 WC tested up to: 9.1
     9WC tested up to: 9.2
    1010License: GPLv3
    1111License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    9595== Changelog ==
    9696
     97= 1.1.3 =
     98- Fix - Resolved compatibility issues with WPML.
     99
    97100= 1.1.2 =
    98101- Fix - Fix issues with guest wishlists.
  • wcboost-wishlist/trunk/wcboost-wishlist.php

    r3132036 r3144521  
    55 * Plugin URI: https://wcboost.com/plugin/woocommerce-wishlist/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
    66 * Author: WCBoost
    7  * Version: 1.1.2
     7 * Version: 1.1.3
    88 * Author URI: https://wcboost.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash
    99 *
     
    1515 * Tested up to: 6.6
    1616 * WC requires at least: 3.0.0
    17  * WC tested up to: 9.1
     17 * WC tested up to: 9.2
    1818 *
    1919 * @package WCBoost
Note: See TracChangeset for help on using the changeset viewer.