Plugin Directory

Changeset 2545901


Ignore:
Timestamp:
06/10/2021 10:57:24 PM (5 years ago)
Author:
woothemes
Message:

Tagging version 5.2.2

Location:
woocommerce-gateway-stripe
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • woocommerce-gateway-stripe/tags/5.2.2/changelog.txt

    r2545800 r2545901  
    11*** Changelog ***
     2
     3= 5.2.2 - 2021-06-10 =
     4* Fix - The absence of a cart causing fatal errors when rendering the Cart or Checkout block.
    25
    36= 5.2.1 - 2021-06-10 =
  • woocommerce-gateway-stripe/tags/5.2.2/includes/payment-methods/class-wc-stripe-payment-request.php

    r2545800 r2545901  
    584584     */
    585585    public function javascript_params() {
     586        $needs_shipping = 'no';
     587        if ( ! is_null( WC()->cart ) && WC()->cart->needs_shipping() ) {
     588            $needs_shipping = 'yes';
     589        }
     590
    586591        return [
    587592            'ajax_url'        => WC_AJAX::get_endpoint( '%%endpoint%%' ),
     
    609614                'currency_code'     => strtolower( get_woocommerce_currency() ),
    610615                'country_code'      => substr( get_option( 'woocommerce_default_country' ), 0, 2 ),
    611                 'needs_shipping'    => WC()->cart->needs_shipping() ? 'yes' : 'no',
     616                'needs_shipping'    => $needs_shipping,
    612617                // Defaults to 'required' to match how core initializes this option.
    613618                'needs_payer_phone' => 'required' === get_option( 'woocommerce_checkout_phone_field', 'required' ),
  • woocommerce-gateway-stripe/tags/5.2.2/languages/woocommerce-gateway-stripe.pot

    r2545800 r2545901  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: WooCommerce Stripe Gateway 5.2.1\n"
     5"Project-Id-Version: WooCommerce Stripe Gateway 5.2.2\n"
    66"Report-Msgid-Bugs-To: "
    77"https://wordpress.org/support/plugin/woocommerce-gateway-stripe\n"
    8 "POT-Creation-Date: 2021-06-10 19:04:19+00:00\n"
     8"POT-Creation-Date: 2021-06-10 22:57:05+00:00\n"
    99"MIME-Version: 1.0\n"
    1010"Content-Type: text/plain; charset=utf-8\n"
     
    17421742
    17431743#: includes/payment-methods/class-wc-stripe-payment-request.php:362
    1744 #: includes/payment-methods/class-wc-stripe-payment-request.php:1092
    1745 #: includes/payment-methods/class-wc-stripe-payment-request.php:1522
     1744#: includes/payment-methods/class-wc-stripe-payment-request.php:1097
     1745#: includes/payment-methods/class-wc-stripe-payment-request.php:1527
    17461746msgid "Tax"
    17471747msgstr ""
    17481748
    17491749#: includes/payment-methods/class-wc-stripe-payment-request.php:370
    1750 #: includes/payment-methods/class-wc-stripe-payment-request.php:1100
    1751 #: includes/payment-methods/class-wc-stripe-payment-request.php:1529
     1750#: includes/payment-methods/class-wc-stripe-payment-request.php:1105
     1751#: includes/payment-methods/class-wc-stripe-payment-request.php:1534
    17521752msgid "Shipping"
    17531753msgstr ""
    17541754
    17551755#: includes/payment-methods/class-wc-stripe-payment-request.php:377
    1756 #: includes/payment-methods/class-wc-stripe-payment-request.php:1107
     1756#: includes/payment-methods/class-wc-stripe-payment-request.php:1112
    17571757msgid "Pending"
    17581758msgstr ""
    17591759
    1760 #: includes/payment-methods/class-wc-stripe-payment-request.php:603
     1760#: includes/payment-methods/class-wc-stripe-payment-request.php:608
    17611761msgid "Sorry, we're not accepting prepaid cards at this time."
    17621762msgstr ""
    17631763
    1764 #: includes/payment-methods/class-wc-stripe-payment-request.php:605
     1764#: includes/payment-methods/class-wc-stripe-payment-request.php:610
    17651765#. translators: Do not translate the [option] placeholder
    17661766msgid "Unknown shipping option \"[option]\"."
    17671767msgstr ""
    17681768
    1769 #: includes/payment-methods/class-wc-stripe-payment-request.php:748
     1769#: includes/payment-methods/class-wc-stripe-payment-request.php:753
    17701770msgid "OR"
    17711771msgstr ""
    17721772
    1773 #: includes/payment-methods/class-wc-stripe-payment-request.php:941
    1774 #: includes/payment-methods/class-wc-stripe-payment-request.php:954
     1773#: includes/payment-methods/class-wc-stripe-payment-request.php:946
     1774#: includes/payment-methods/class-wc-stripe-payment-request.php:959
    17751775msgid "Unable to find shipping method for address."
    17761776msgstr ""
    17771777
    1778 #: includes/payment-methods/class-wc-stripe-payment-request.php:1054
     1778#: includes/payment-methods/class-wc-stripe-payment-request.php:1059
    17791779#. translators: %d is the product Id
    17801780msgid "Product with the ID (%d) cannot be found."
    17811781msgstr ""
    17821782
    1783 #: includes/payment-methods/class-wc-stripe-payment-request.php:1075
     1783#: includes/payment-methods/class-wc-stripe-payment-request.php:1080
    17841784#. translators: 1: product name 2: quantity in stock
    17851785msgid ""
     
    17881788msgstr ""
    17891789
    1790 #: includes/payment-methods/class-wc-stripe-payment-request.php:1347
     1790#: includes/payment-methods/class-wc-stripe-payment-request.php:1352
    17911791#. translators: %s: country.
    17921792msgid ""
     
    17961796msgstr ""
    17971797
    1798 #: includes/payment-methods/class-wc-stripe-payment-request.php:1363
     1798#: includes/payment-methods/class-wc-stripe-payment-request.php:1368
    17991799msgid "Empty cart"
    18001800msgstr ""
    18011801
    1802 #: includes/payment-methods/class-wc-stripe-payment-request.php:1536
     1802#: includes/payment-methods/class-wc-stripe-payment-request.php:1541
    18031803msgid "Discount"
    18041804msgstr ""
  • woocommerce-gateway-stripe/tags/5.2.2/readme.txt

    r2545800 r2545901  
    55Tested up to: 5.6
    66Requires PHP: 5.6
    7 Stable tag: 5.2.1
     7Stable tag: 5.2.2
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    127127== Changelog ==
    128128
    129 = 5.2.1 - 2021-06-10 =
     129= 5.2.2 - 2021-06-10 =
    130130
    131 * Fix - Remove calls to `has_block()` since it breaks compatibility with older versions of WordPress.
    132 * Tweak - Use the same JavaScript configurations for the Block-based and Shortcode-based checkout flows.
     131* Fix - The absence of a cart causing fatal errors when rendering the Cart or Checkout block.
    133132
  • woocommerce-gateway-stripe/tags/5.2.2/woocommerce-gateway-stripe.php

    r2545800 r2545901  
    66 * Author: WooCommerce
    77 * Author URI: https://woocommerce.com/
    8  * Version: 5.2.1
     8 * Version: 5.2.2
    99 * Requires at least: 4.4
    1010 * Tested up to: 5.6
     
    2222 * Required minimums and constants
    2323 */
    24 define( 'WC_STRIPE_VERSION', '5.2.1' ); // WRCS: DEFINED_VERSION.
     24define( 'WC_STRIPE_VERSION', '5.2.2' ); // WRCS: DEFINED_VERSION.
    2525define( 'WC_STRIPE_MIN_PHP_VER', '5.6.0' );
    2626define( 'WC_STRIPE_MIN_WC_VER', '3.0' );
  • woocommerce-gateway-stripe/trunk/changelog.txt

    r2545800 r2545901  
    11*** Changelog ***
     2
     3= 5.2.2 - 2021-06-10 =
     4* Fix - The absence of a cart causing fatal errors when rendering the Cart or Checkout block.
    25
    36= 5.2.1 - 2021-06-10 =
  • woocommerce-gateway-stripe/trunk/includes/payment-methods/class-wc-stripe-payment-request.php

    r2545800 r2545901  
    584584     */
    585585    public function javascript_params() {
     586        $needs_shipping = 'no';
     587        if ( ! is_null( WC()->cart ) && WC()->cart->needs_shipping() ) {
     588            $needs_shipping = 'yes';
     589        }
     590
    586591        return [
    587592            'ajax_url'        => WC_AJAX::get_endpoint( '%%endpoint%%' ),
     
    609614                'currency_code'     => strtolower( get_woocommerce_currency() ),
    610615                'country_code'      => substr( get_option( 'woocommerce_default_country' ), 0, 2 ),
    611                 'needs_shipping'    => WC()->cart->needs_shipping() ? 'yes' : 'no',
     616                'needs_shipping'    => $needs_shipping,
    612617                // Defaults to 'required' to match how core initializes this option.
    613618                'needs_payer_phone' => 'required' === get_option( 'woocommerce_checkout_phone_field', 'required' ),
  • woocommerce-gateway-stripe/trunk/languages/woocommerce-gateway-stripe.pot

    r2545800 r2545901  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: WooCommerce Stripe Gateway 5.2.1\n"
     5"Project-Id-Version: WooCommerce Stripe Gateway 5.2.2\n"
    66"Report-Msgid-Bugs-To: "
    77"https://wordpress.org/support/plugin/woocommerce-gateway-stripe\n"
    8 "POT-Creation-Date: 2021-06-10 19:04:19+00:00\n"
     8"POT-Creation-Date: 2021-06-10 22:57:05+00:00\n"
    99"MIME-Version: 1.0\n"
    1010"Content-Type: text/plain; charset=utf-8\n"
     
    17421742
    17431743#: includes/payment-methods/class-wc-stripe-payment-request.php:362
    1744 #: includes/payment-methods/class-wc-stripe-payment-request.php:1092
    1745 #: includes/payment-methods/class-wc-stripe-payment-request.php:1522
     1744#: includes/payment-methods/class-wc-stripe-payment-request.php:1097
     1745#: includes/payment-methods/class-wc-stripe-payment-request.php:1527
    17461746msgid "Tax"
    17471747msgstr ""
    17481748
    17491749#: includes/payment-methods/class-wc-stripe-payment-request.php:370
    1750 #: includes/payment-methods/class-wc-stripe-payment-request.php:1100
    1751 #: includes/payment-methods/class-wc-stripe-payment-request.php:1529
     1750#: includes/payment-methods/class-wc-stripe-payment-request.php:1105
     1751#: includes/payment-methods/class-wc-stripe-payment-request.php:1534
    17521752msgid "Shipping"
    17531753msgstr ""
    17541754
    17551755#: includes/payment-methods/class-wc-stripe-payment-request.php:377
    1756 #: includes/payment-methods/class-wc-stripe-payment-request.php:1107
     1756#: includes/payment-methods/class-wc-stripe-payment-request.php:1112
    17571757msgid "Pending"
    17581758msgstr ""
    17591759
    1760 #: includes/payment-methods/class-wc-stripe-payment-request.php:603
     1760#: includes/payment-methods/class-wc-stripe-payment-request.php:608
    17611761msgid "Sorry, we're not accepting prepaid cards at this time."
    17621762msgstr ""
    17631763
    1764 #: includes/payment-methods/class-wc-stripe-payment-request.php:605
     1764#: includes/payment-methods/class-wc-stripe-payment-request.php:610
    17651765#. translators: Do not translate the [option] placeholder
    17661766msgid "Unknown shipping option \"[option]\"."
    17671767msgstr ""
    17681768
    1769 #: includes/payment-methods/class-wc-stripe-payment-request.php:748
     1769#: includes/payment-methods/class-wc-stripe-payment-request.php:753
    17701770msgid "OR"
    17711771msgstr ""
    17721772
    1773 #: includes/payment-methods/class-wc-stripe-payment-request.php:941
    1774 #: includes/payment-methods/class-wc-stripe-payment-request.php:954
     1773#: includes/payment-methods/class-wc-stripe-payment-request.php:946
     1774#: includes/payment-methods/class-wc-stripe-payment-request.php:959
    17751775msgid "Unable to find shipping method for address."
    17761776msgstr ""
    17771777
    1778 #: includes/payment-methods/class-wc-stripe-payment-request.php:1054
     1778#: includes/payment-methods/class-wc-stripe-payment-request.php:1059
    17791779#. translators: %d is the product Id
    17801780msgid "Product with the ID (%d) cannot be found."
    17811781msgstr ""
    17821782
    1783 #: includes/payment-methods/class-wc-stripe-payment-request.php:1075
     1783#: includes/payment-methods/class-wc-stripe-payment-request.php:1080
    17841784#. translators: 1: product name 2: quantity in stock
    17851785msgid ""
     
    17881788msgstr ""
    17891789
    1790 #: includes/payment-methods/class-wc-stripe-payment-request.php:1347
     1790#: includes/payment-methods/class-wc-stripe-payment-request.php:1352
    17911791#. translators: %s: country.
    17921792msgid ""
     
    17961796msgstr ""
    17971797
    1798 #: includes/payment-methods/class-wc-stripe-payment-request.php:1363
     1798#: includes/payment-methods/class-wc-stripe-payment-request.php:1368
    17991799msgid "Empty cart"
    18001800msgstr ""
    18011801
    1802 #: includes/payment-methods/class-wc-stripe-payment-request.php:1536
     1802#: includes/payment-methods/class-wc-stripe-payment-request.php:1541
    18031803msgid "Discount"
    18041804msgstr ""
  • woocommerce-gateway-stripe/trunk/readme.txt

    r2545800 r2545901  
    55Tested up to: 5.6
    66Requires PHP: 5.6
    7 Stable tag: 5.2.1
     7Stable tag: 5.2.2
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    127127== Changelog ==
    128128
    129 = 5.2.1 - 2021-06-10 =
     129= 5.2.2 - 2021-06-10 =
    130130
    131 * Fix - Remove calls to `has_block()` since it breaks compatibility with older versions of WordPress.
    132 * Tweak - Use the same JavaScript configurations for the Block-based and Shortcode-based checkout flows.
     131* Fix - The absence of a cart causing fatal errors when rendering the Cart or Checkout block.
    133132
  • woocommerce-gateway-stripe/trunk/woocommerce-gateway-stripe.php

    r2545800 r2545901  
    66 * Author: WooCommerce
    77 * Author URI: https://woocommerce.com/
    8  * Version: 5.2.1
     8 * Version: 5.2.2
    99 * Requires at least: 4.4
    1010 * Tested up to: 5.6
     
    2222 * Required minimums and constants
    2323 */
    24 define( 'WC_STRIPE_VERSION', '5.2.1' ); // WRCS: DEFINED_VERSION.
     24define( 'WC_STRIPE_VERSION', '5.2.2' ); // WRCS: DEFINED_VERSION.
    2525define( 'WC_STRIPE_MIN_PHP_VER', '5.6.0' );
    2626define( 'WC_STRIPE_MIN_WC_VER', '3.0' );
Note: See TracChangeset for help on using the changeset viewer.