Plugin Directory

Changeset 2965797


Ignore:
Timestamp:
09/12/2023 10:24:51 AM (3 years ago)
Author:
ecgan
Message:

Tagging version 1.3.10

Location:
pinterest-for-woocommerce
Files:
1 added
69 edited
1 copied

Legend:

Unmodified
Added
Removed
  • pinterest-for-woocommerce/tags/1.3.10/README.md

    r2918824 r2965797  
    124124The tests will execute and you'll be presented with a summary.
    125125
    126 ### Unit Tests and PHP 8
    127 
    128 We currently do not support running unit tests on PHP 8..
    129 
    130126<p align="center">
    131127    <br/><br/>
  • pinterest-for-woocommerce/tags/1.3.10/changelog.txt

    r2963167 r2965797  
    11*** Pinterest for WooCommerce Changelog ***
     2
     3= 1.3.10 - 2023-09-12 =
     4* Dev - Updates PHPUnit version, unit tests, and matrix in git workflow for PHP8.2 compatibility.
    25
    36= 1.3.9 - 2023-09-05 =
  • pinterest-for-woocommerce/tags/1.3.10/class-pinterest-for-woocommerce.php

    r2963167 r2965797  
    6363         */
    6464        const PLUGIN_REQUIREMENTS = array(
    65             'php_version'      => '7.3',
     65            'php_version'      => '7.4',
    6666            'wp_version'       => '5.6',
    6767            'wc_version'       => '5.3',
     
    179179            add_action( 'plugins_loaded', array( $this, 'init_plugin' ) );
    180180
     181            /**
     182             * Plugin loaded action.
     183             * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
     184             */
    181185            do_action( 'pinterest_for_woocommerce_loaded' );
    182186        }
     
    309313         */
    310314        public function init() {
    311             // Before init action.
     315            /**
     316             * Before init action.
     317             * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
     318             */
    312319            do_action( 'before_pinterest_for_woocommerce_init' );
    313320
     
    315322            $this->load_plugin_textdomain();
    316323
    317             // Init action.
     324            /**
     325             * Init action.
     326             * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
     327             */
    318328            do_action( 'pinterest_for_woocommerce_init' );
    319329        }
     
    370380            }
    371381
     382            /**
     383             * Check if WooCommerce Admin is enabled.
     384             * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
     385             */
    372386            if ( apply_filters( 'woocommerce_admin_disabled', false ) ) {
    373387                $errors[] = esc_html__( 'Pinterest for WooCommerce requires WooCommerce Admin to be enabled.', 'pinterest-for-woocommerce' );
     
    425439         */
    426440        private function load_plugin_textdomain() {
     441            /**
     442             * Get plugin locale.
     443             * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
     444             */
    427445            $locale = apply_filters( 'plugin_locale', get_locale(), 'pinterest-for-woocommerce' );
    428446
     
    455473         */
    456474        public function template_path() {
     475            /**
     476             * Returns template path.
     477             * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
     478             */
    457479            return apply_filters( 'pinterest_for_woocommerce_template_path', 'pinterest-for-woocommerce/' );
    458480        }
  • pinterest-for-woocommerce/tags/1.3.10/i18n/languages/pinterest-for-woocommerce.pot

    r2963167 r2965797  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Pinterest for WooCommerce 1.3.9\n"
     5"Project-Id-Version: Pinterest for WooCommerce 1.3.10\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/pinterest-for-woocommerce\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: 2023-09-05T14:54:14+00:00\n"
     12"POT-Creation-Date: 2023-09-12T10:23:15+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.6.0\n"
     14"X-Generator: WP-CLI 2.8.1\n"
    1515"X-Domain: pinterest-for-woocommerce\n"
    1616
     
    5050
    5151#. Translators: The minimum PHP version
    52 #: class-pinterest-for-woocommerce.php:359
     52#: class-pinterest-for-woocommerce.php:369
    5353msgid "Pinterest for WooCommerce requires a minimum PHP version of %s."
    5454msgstr ""
    5555
    5656#. Translators: The minimum WP version
    57 #: class-pinterest-for-woocommerce.php:364
     57#: class-pinterest-for-woocommerce.php:374
    5858msgid "Pinterest for WooCommerce requires a minimum WordPress version of %s."
    5959msgstr ""
    6060
    6161#. Translators: The minimum WC version
    62 #: class-pinterest-for-woocommerce.php:369
     62#: class-pinterest-for-woocommerce.php:379
    6363msgid "Pinterest for WooCommerce requires a minimum WooCommerce version of %s."
    6464msgstr ""
    6565
    66 #: class-pinterest-for-woocommerce.php:373
     66#: class-pinterest-for-woocommerce.php:387
    6767msgid "Pinterest for WooCommerce requires WooCommerce Admin to be enabled."
    6868msgstr ""
    6969
    7070#. Translators: The minimum Action Scheduler version
    71 #: class-pinterest-for-woocommerce.php:378
     71#: class-pinterest-for-woocommerce.php:392
    7272msgid "Pinterest for WooCommerce requires a minimum Action Scheduler package of %s. It can be caused by old version of the WooCommerce extensions."
    7373msgstr ""
    7474
    7575#. Translators: The error description
    76 #: class-pinterest-for-woocommerce.php:644
     76#: class-pinterest-for-woocommerce.php:666
    7777msgid "Could not decrypt the Pinterest API access token. Try reconnecting to Pinterest. [%s]"
    7878msgstr ""
    7979
    80 #: class-pinterest-for-woocommerce.php:695
     80#: class-pinterest-for-woocommerce.php:717
    8181msgid "Response error on disconnect merchant."
    8282msgstr ""
    8383
    84 #: class-pinterest-for-woocommerce.php:710
     84#: class-pinterest-for-woocommerce.php:732
    8585msgid "There was an error disconnecting the Advertiser."
    8686msgstr ""
    8787
    88 #: class-pinterest-for-woocommerce.php:712
    89 #: class-pinterest-for-woocommerce.php:795
     88#: class-pinterest-for-woocommerce.php:734
     89#: class-pinterest-for-woocommerce.php:817
    9090msgid "There was an error disconnecting the Advertiser. Please try again."
    9191msgstr ""
    9292
    93 #: class-pinterest-for-woocommerce.php:724
     93#: class-pinterest-for-woocommerce.php:746
    9494msgid "Trying to disconnect while the merchant (id) was not found."
    9595msgstr ""
    9696
    97 #: class-pinterest-for-woocommerce.php:929
     97#: class-pinterest-for-woocommerce.php:951
    9898msgid "There was an error getting the account data."
    9999msgstr ""
    100100
    101 #: class-pinterest-for-woocommerce.php:1191
     101#: class-pinterest-for-woocommerce.php:1213
    102102msgid "Pinterest for WooCommerce verification page"
    103103msgstr ""
     
    165165msgstr ""
    166166
    167 #: src/Admin/Product/Attributes/AttributesForm.php:128
     167#: src/Admin/Product/Attributes/AttributesForm.php:133
    168168msgid "Default"
    169169msgstr ""
    170170
    171 #: src/Admin/Product/Attributes/AttributesTab.php:188
     171#: src/Admin/Product/Attributes/AttributesTab.php:192
    172172msgid "Simple product"
    173173msgstr ""
    174174
    175 #: src/Admin/Product/Attributes/AttributesTab.php:189
     175#: src/Admin/Product/Attributes/AttributesTab.php:193
    176176msgid "Variable product"
    177177msgstr ""
     
    246246msgstr ""
    247247
    248 #: src/API/Auth.php:113
     248#: src/API/Auth.php:116
    249249msgid "There was an error getting the account data. Please try again later."
    250250msgstr ""
     
    275275msgstr ""
    276276
    277 #: src/API/Base.php:432
    278 #: src/API/Base.php:533
    279 #: src/Merchants.php:139
     277#: src/API/Base.php:436
     278#: src/API/Base.php:539
     279#: src/Merchants.php:140
    280280msgid "Auto-created by Pinterest for WooCommerce"
    281281msgstr ""
     
    304304
    305305#: src/API/FeedState.php:95
    306 #: src/API/FeedState.php:200
     306#: src/API/FeedState.php:204
    307307msgid "XML feed"
    308308msgstr ""
     
    313313
    314314#. Translators: The error description as returned from the API
    315 #: src/API/FeedState.php:115
     315#: src/API/FeedState.php:119
    316316msgid "Error getting feed's state. [%s]"
    317317msgstr ""
    318318
    319 #: src/API/FeedState.php:139
     319#: src/API/FeedState.php:143
    320320msgid "Feed generation in progress."
    321321msgstr ""
    322322
    323323#. translators: 1: Time string, 2: number of products, 3: opening anchor tag, 4: closing anchor tag
    324 #: src/API/FeedState.php:143
     324#: src/API/FeedState.php:147
    325325msgid "Last activity: %1$s ago - Wrote %2$s product to %3$sfeed file%4$s."
    326326msgid_plural "Last activity: %1$s ago - Wrote %2$s products to %3$sfeed file%4$s."
     
    328328msgstr[1] ""
    329329
    330 #: src/API/FeedState.php:159
     330#: src/API/FeedState.php:163
    331331msgid "Up to date"
    332332msgstr ""
    333333
    334334#. translators: 1: Time string, 2: total number of products, 3: opening anchor tag, 4: closing anchor tag
    335 #: src/API/FeedState.php:163
     335#: src/API/FeedState.php:167
    336336msgid "Successfully generated %1$s ago - Wrote %2$s product to %3$sfeed file%4$s"
    337337msgid_plural "Successfully generated %1$s ago - Wrote %2$s products to %3$sfeed file%4$s"
     
    339339msgstr[1] ""
    340340
    341 #: src/API/FeedState.php:179
     341#: src/API/FeedState.php:183
    342342msgid "Feed generation will start shortly."
    343343msgstr ""
    344344
    345 #: src/API/FeedState.php:184
     345#: src/API/FeedState.php:188
    346346msgid "Feed configuration will start shortly."
    347347msgstr ""
    348348
    349 #: src/API/FeedState.php:189
    350 #: src/API/FeedState.php:234
     349#: src/API/FeedState.php:193
     350#: src/API/FeedState.php:238
    351351#: src/Feeds.php:42
    352352#: src/Feeds.php:84
     
    355355
    356356#. Translators: %1$s Time string, %2$s error message
    357 #: src/API/FeedState.php:192
     357#: src/API/FeedState.php:196
    358358msgid "Last activity: %1$s ago - %2$s"
    359359msgstr ""
    360360
    361 #: src/API/FeedState.php:226
     361#: src/API/FeedState.php:230
     362#: src/API/FeedState.php:274
     363msgid "Product feed not yet configured on Pinterest."
     364msgstr ""
     365
     366#: src/API/FeedState.php:234
     367msgid "Could not get merchant info."
     368msgstr ""
     369
     370#: src/API/FeedState.php:242
     371msgid "Product feed not active."
     372msgstr ""
     373
     374#: src/API/FeedState.php:246
     375msgid "Product feed configured for ingestion on Pinterest"
     376msgstr ""
     377
     378#. Translators: %1$s The URL of the product feed, %2$s Time string
     379#: src/API/FeedState.php:255
     380msgid "Pinterest will fetch your <a href=\"%1$s\" target=\"_blank\">product feed</a> every %2$s"
     381msgstr ""
     382
     383#: src/API/FeedState.php:266
     384msgid "Product feed pending approval on Pinterest."
     385msgstr ""
     386
    362387#: src/API/FeedState.php:270
    363 msgid "Product feed not yet configured on Pinterest."
    364 msgstr ""
    365 
    366 #: src/API/FeedState.php:230
    367 msgid "Could not get merchant info."
    368 msgstr ""
    369 
    370 #: src/API/FeedState.php:238
    371 msgid "Product feed not active."
    372 msgstr ""
    373 
    374 #: src/API/FeedState.php:242
    375 msgid "Product feed configured for ingestion on Pinterest"
    376 msgstr ""
    377 
    378 #. Translators: %1$s The URL of the product feed, %2$s Time string
    379 #: src/API/FeedState.php:251
    380 msgid "Pinterest will fetch your <a href=\"%1$s\" target=\"_blank\">product feed</a> every %2$s"
    381 msgstr ""
    382 
    383 #: src/API/FeedState.php:262
    384 msgid "Product feed pending approval on Pinterest."
    385 msgstr ""
    386 
    387 #: src/API/FeedState.php:266
    388388msgid "Product feed declined by Pinterest"
    389389msgstr ""
    390390
    391 #: src/API/FeedState.php:275
     391#: src/API/FeedState.php:279
    392392msgid "Remote feed setup"
    393393msgstr ""
    394394
    395 #: src/API/FeedState.php:316
     395#: src/API/FeedState.php:320
    396396msgid "Pinterest tag"
    397397msgstr ""
    398398
    399 #: src/API/FeedState.php:318
    400 #: src/API/FeedState.php:349
     399#: src/API/FeedState.php:322
     400#: src/API/FeedState.php:353
    401401msgid "Potential conflicting plugins"
    402402msgstr ""
    403403
    404 #: src/API/FeedState.php:347
     404#: src/API/FeedState.php:351
    405405msgid "Pinterest Rich Pins"
    406406msgstr ""
    407407
    408 #: src/API/FeedState.php:371
     408#: src/API/FeedState.php:375
    409409msgid "Feed is not registered with Pinterest."
    410410msgstr ""
    411411
    412 #: src/API/FeedState.php:380
     412#: src/API/FeedState.php:384
    413413msgid "Response error. Feed report contains no feed workflow."
    414414msgstr ""
    415415
    416 #: src/API/FeedState.php:387
     416#: src/API/FeedState.php:391
    417417msgid "Automatically pulled by Pinterest"
    418418msgstr ""
    419419
    420420#. Translators: %1$s Time string, %2$s number of products
    421 #: src/API/FeedState.php:390
    422 #: src/API/FeedState.php:400
     421#: src/API/FeedState.php:394
     422#: src/API/FeedState.php:404
    423423msgid "Last pulled: %1$s ago, containing %2$d products"
    424424msgstr ""
    425425
    426 #: src/API/FeedState.php:397
     426#: src/API/FeedState.php:401
    427427msgid "Processing"
    428428msgstr ""
    429429
    430 #: src/API/FeedState.php:407
     430#: src/API/FeedState.php:411
    431431msgid "Feed is under review."
    432432msgstr ""
    433433
    434 #: src/API/FeedState.php:411
     434#: src/API/FeedState.php:415
    435435msgid "The feed is queued for processing."
    436436msgstr ""
    437437
    438 #: src/API/FeedState.php:415
     438#: src/API/FeedState.php:419
    439439msgid "Feed ingestion failed."
    440440msgstr ""
    441441
    442442#. Translators: %1$s Time difference string
    443 #: src/API/FeedState.php:418
     443#: src/API/FeedState.php:422
    444444msgid "Last attempt: %1$s ago"
    445445msgstr ""
    446446
    447 #: src/API/FeedState.php:429
     447#: src/API/FeedState.php:433
    448448msgid "Unknown status in workflow."
    449449msgstr ""
    450450
    451451#. Translators: The status text returned by the API.
    452 #: src/API/FeedState.php:432
     452#: src/API/FeedState.php:436
    453453msgid "API returned an unknown status: %1$s"
    454454msgstr ""
    455455
    456 #: src/API/FeedState.php:456
     456#: src/API/FeedState.php:460
    457457msgid "Remote sync status"
    458458msgstr ""
     
    594594
    595595#: src/Merchants.php:84
    596 #: src/Merchants.php:172
     596#: src/Merchants.php:173
    597597msgid "Response error when trying to create a merchant or update the existing one."
    598598msgstr ""
     
    606606msgstr ""
    607607
    608 #: src/Merchants.php:155
     608#: src/Merchants.php:156
    609609msgid "There was a previous error trying to create or update merchant."
    610610msgstr ""
     
    689689
    690690#. translators: %s product id
    691 #: src/ProductsXmlFeed.php:267
     691#: src/ProductsXmlFeed.php:268
    692692msgid "The product [%s] has a description longer than the allowed limit."
    693693msgstr ""
     
    709709
    710710#. Translators: 1: Conflicting plugins, 2: Plugins Admin page opening tag, 3: Pinterest settings opening tag, 4: Closing anchor tag
    711 #: src/RichPins.php:293
     711#: src/RichPins.php:299
    712712msgid "The following installed plugin(s) can potentially cause problems with Rich Pins: %1$s. %2$sRemove conflicting plugins%4$s or %3$smanage Rich Pins settings%4$s."
    713713msgstr ""
  • pinterest-for-woocommerce/tags/1.3.10/pinterest-for-woocommerce.php

    r2963167 r2965797  
    1414 * Plugin URI:        https://woocommerce.com/products/pinterest-for-woocommerce/
    1515 * Description:       Grow your business on Pinterest! Use this official plugin to allow shoppers to Pin products while browsing your store, track conversions, and advertise on Pinterest.
    16  * Version:           1.3.9
     16 * Version:           1.3.10
    1717 * Author:            WooCommerce
    1818 * Author URI:        https://woocommerce.com
     
    2424 * Requires at least: 5.6
    2525 * Tested up to: 6.3
    26  * Requires PHP: 7.3
     26 * Requires PHP: 7.4
    2727 *
    2828 * WC requires at least: 5.3
     
    4747
    4848define( 'PINTEREST_FOR_WOOCOMMERCE_PLUGIN_FILE', __FILE__ );
    49 define( 'PINTEREST_FOR_WOOCOMMERCE_VERSION', '1.3.9' ); // WRCS: DEFINED_VERSION.
     49define( 'PINTEREST_FOR_WOOCOMMERCE_VERSION', '1.3.10' ); // WRCS: DEFINED_VERSION.
    5050
    5151// HPOS compatibility declaration.
  • pinterest-for-woocommerce/tags/1.3.10/readme.txt

    r2963167 r2965797  
    55Tested up to: 6.3
    66Requires PHP: 7.3
    7 Stable tag: 1.3.9
     7Stable tag: 1.3.10
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    9191
    9292== Changelog ==
     93
     94= 1.3.10 - 2023-09-12 =
     95* Dev - Updates PHPUnit version, unit tests, and matrix in git workflow for PHP8.2 compatibility.
    9396
    9497= 1.3.9 - 2023-09-05 =
  • pinterest-for-woocommerce/tags/1.3.10/src/API/Auth.php

    r2918824 r2965797  
    108108
    109109            try {
    110                 // Actions to perform after getting the authorization token.
     110                /**
     111                 * Actions to perform after getting the authorization token.
     112                 * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
     113                 */
    111114                do_action( 'pinterest_for_woocommerce_token_saved' );
    112115            } catch ( Throwable $th ) {
  • pinterest-for-woocommerce/tags/1.3.10/src/API/Base.php

    r2954023 r2965797  
    430430    public static function create_advertiser( $tos_id ) {
    431431
     432        /**
     433         * Advertiser name.
     434         * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
     435         */
    432436        $advertiser_name = apply_filters( 'pinterest_for_woocommerce_default_advertiser_name', esc_html__( 'Auto-created by Pinterest for WooCommerce', 'pinterest-for-woocommerce' ) );
    433437
     
    530534     */
    531535    public static function create_tag( $advertiser_id ) {
    532 
     536        /**
     537         * Tag name.
     538         */
    533539        $tag_name = apply_filters( 'pinterest_for_woocommerce_default_tag_name', esc_html__( 'Auto-created by Pinterest for WooCommerce', 'pinterest-for-woocommerce' ) );
    534540
  • pinterest-for-woocommerce/tags/1.3.10/src/API/FeedState.php

    r2918824 r2965797  
    108108            }
    109109
     110            /**
     111             * Returns feed state.
     112             * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
     113             */
    110114            return apply_filters( 'pinterest_for_woocommerce_feed_state', array() );
    111115
  • pinterest-for-woocommerce/tags/1.3.10/src/Admin/Product/Attributes/AttributesForm.php

    r2918824 r2965797  
    7272             *
    7373             * @see AttributeManager::map_attribute_types
     74             * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
    7475             */
    7576            $applicable_types = apply_filters( "wc_pinterest_attribute_applicable_product_types_{$attribute_id}", $applicable_types, $attribute_type );
     
    7778            /**
    7879             * Filters the list of product types to hide the attribute for.
     80             * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
    7981             */
    8082            $hidden_types = apply_filters( "wc_pinterest_attribute_hidden_product_types_{$attribute_id}", array() );
     
    114116            $value_options = $attribute::get_value_options();
    115117        }
     118        /**
     119         * Filters the list of value options for the given attribute.
     120         */
    116121        $value_options = apply_filters( "wc_pinterest_product_attribute_value_options_{$attribute::get_id()}", $value_options );
    117122
  • pinterest-for-woocommerce/tags/1.3.10/src/Admin/Product/Attributes/AttributesTab.php

    r2918824 r2965797  
    183183     */
    184184    public static function get_applicable_product_types(): array {
     185        /**
     186         * Array of product types that the Pinterest tab can be displayed for.
     187         * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
     188         */
    185189        return apply_filters(
    186190            'wc_pinterest_attributes_tab_applicable_product_types',
     
    200204     */
    201205    protected function get_hidden_product_types(): array {
     206        /**
     207         * Array of product types that the Pinterest tab cannot be displayed for.
     208         * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
     209         */
    202210        return apply_filters(
    203211            'wc_pinterest_attributes_tab_hidden_product_types',
  • pinterest-for-woocommerce/tags/1.3.10/src/FeedGenerator.php

    r2931962 r2965797  
    580580     */
    581581    protected function get_batch_size(): int {
     582        /**
     583         * Returns products to process per batch.
     584         * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
     585         */
    582586        return Pinterest_For_Woocommerce::get_data( 'feed_product_batch_size' ) ?? apply_filters(
    583587            PINTEREST_FOR_WOOCOMMERCE_OPTION_NAME . '_feed_product_batch_size',
     
    633637     */
    634638    private function get_included_product_types(): array {
     639        /**
     640         * Returns array of included product types.
     641         * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
     642         */
    635643        return (array) apply_filters(
    636644            'pinterest_for_woocommerce_included_product_types',
     
    650658     */
    651659    private function get_excluded_product_types(): array {
     660        /**
     661         * Returns array of excluded product types.
     662         * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
     663         */
    652664        return (array) apply_filters(
    653665            'pinterest_for_woocommerce_excluded_product_types',
     
    669681     */
    670682    private function get_excluded_products_by_parent(): array {
     683        /**
     684         * Returns array of excluded products by parent.
     685         * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
     686         */
    671687        return (array) apply_filters(
    672688            'pinterest_for_woocommerce_excluded_products_by_parent',
     
    741757     */
    742758    protected function is_failure_rate_above_threshold( string $hook, ?array $args = null ): bool {
     759        /**
     760         * Threshold of failed actions.
     761         * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
     762         */
    743763        $threshold   = apply_filters( 'pinterest_for_woocommerce_action_failure_threshold', 3 );
     764        /**
     765         * Time period of failed actions.
     766         * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
     767         */
    744768        $time_period = apply_filters( 'pinterest_for_woocommerce_action_failure_time_period', 30 * MINUTE_IN_SECONDS );
    745769        $failed_actions = $this->action_scheduler->search(
  • pinterest-for-woocommerce/tags/1.3.10/src/Merchants.php

    r2918824 r2965797  
    136136         *
    137137         * @param string $merchant_name The default merchant name.
     138         * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
    138139         */
    139140        $merchant_name = apply_filters( 'pinterest_for_woocommerce_default_merchant_name', esc_html__( 'Auto-created by Pinterest for WooCommerce', 'pinterest-for-woocommerce' ) );
  • pinterest-for-woocommerce/tags/1.3.10/src/PluginUpdate.php

    r2918824 r2965797  
    271271        $settings = Pinterest_For_Woocommerce()::get_settings( true, PINTEREST_FOR_WOOCOMMERCE_DATA_NAME );
    272272
    273         unset( $settings['local_feed_id'] );
     273        if ( isset( $settings['local_feed_id'] ) ) {
     274            unset( $settings['local_feed_id'] );
     275        }
    274276
    275277        Pinterest_For_Woocommerce()::save_settings( $settings, PINTEREST_FOR_WOOCOMMERCE_DATA_NAME );
  • pinterest-for-woocommerce/tags/1.3.10/src/Product/Attributes/AttributeManager.php

    r2918824 r2965797  
    252252         *
    253253         * @param string[] $attributes Array of attribute class names (FQN)
     254         * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
    254255         */
    255256        return apply_filters( 'wc_pinterest_product_attribute_types', self::ATTRIBUTES );
     
    280281        $attribute_types = $this->get_attribute_types_for_product( $product );
    281282        if ( ! isset( $attribute_types[ $attribute_id ] ) ) {
     283            /**
     284             * Displays an error when an attribute is not supported for a product type.
     285             */
    282286            do_action(
    283287                'wc_pinterest_error',
     
    308312             * @param string[] $applicable_types Array of WooCommerce product types
    309313             * @param string   $attribute_type   Attribute class name (FQN)
     314             * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
    310315             */
    311316            $applicable_types = apply_filters( "wc_pinterest_attribute_applicable_product_types_{$attribute_id}", $applicable_types, $attribute_type );
  • pinterest-for-woocommerce/tags/1.3.10/src/ProductFeedStatus.php

    r2918824 r2965797  
    9090
    9191        if ( ! empty( $state['status'] ) ) {
     92            /**
     93             * Feed status hook.
     94             *
     95             * @param array $state The array holding the feed state props.
     96             * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
     97             */
    9298            do_action( 'pinterest_for_woocommerce_feed_' . $state['status'], $state );
    9399        }
  • pinterest-for-woocommerce/tags/1.3.10/src/ProductsXmlFeed.php

    r2918824 r2965797  
    257257         * @param bool       $apply_shortcodes Shortcodes are applied if set to `true` and stripped out if set to `false`.
    258258         * @param WC_Product $product          WooCommerce product object.
     259         * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
    259260         */
    260261        $apply_shortcodes = apply_filters( 'pinterest_for_woocommerce_product_description_apply_shortcodes', false, $product );
     
    324325        }
    325326
    326         // Get the image with a filter for default size.
     327        /**
     328         * Get the image with a filter for default size.
     329         */
    327330        $image = wp_get_attachment_image_src( $image_id, apply_filters( 'pinterest_for_woocommerce_feed_image_size', 'full' ) );
    328331
     
    442445        if ( $attachment_ids && $product->get_image_id() ) {
    443446            foreach ( $attachment_ids as $attachment_id ) {
    444                 // Get the image with a filter for default size.
     447                /**
     448                 * Get the image with a filter for default size.
     449                 */
    445450                $image = wp_get_attachment_image_src( $attachment_id, apply_filters( 'pinterest_for_woocommerce_feed_image_size', 'full' ) );
    446451
  • pinterest-for-woocommerce/tags/1.3.10/src/RichPins.php

    r2918824 r2965797  
    5757            if ( $rich_pins_on_products || $rich_pins_on_posts ) {
    5858
     59                /**
     60                 * Rich Pins arguments.
     61                 * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
     62                 */
    5963                $args = apply_filters(
    6064                    'pinterest_for_woocommerce_richpins_args',
     
    180184             * @param bool       $apply_shortcodes Shortcodes are applied if set to `true` and stripped out if set to `false`.
    181185             * @param WC_Product $product          WooCommerce product object.
     186             * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
    182187             */
    183188            $apply_shortcodes = apply_filters( 'pinterest_for_woocommerce_rich_pins_product_description_apply_shortcodes', false, $product );
     
    232237         * @param bool $apply_shortcodes Shortcodes are applied if set to `true` and stripped out if set to `false`.
    233238         * @param int  The post id.
     239         * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
    234240         */
    235241        $apply_shortcodes = apply_filters( 'pinterest_for_woocommerce_rich_pins_post_description_apply_shortcodes', false, get_the_ID() );
  • pinterest-for-woocommerce/tags/1.3.10/src/View/PHPView.php

    r2918824 r2965797  
    8989            }
    9090
     91            /**
     92             * Exception hook.
     93             * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
     94             */
    9195            do_action( 'wc_pinterest_exception', $exception, __METHOD__ );
    9296
     
    147151        }
    148152
     153        /**
     154         * Displays an error message when a view property is missing.
     155         * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
     156         */
    149157        do_action( 'wc_pinterest_error', sprintf( 'View property "%s" is missing or undefined.', $property ), __METHOD__ );
    150158
     
    175183
    176184        if ( ! is_readable( $path ) ) {
     185            /**
     186             * View not found error.
     187             * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
     188             */
    177189            do_action( 'wc_pinterest_error', sprintf( 'View not found in path "%s".', $path ), __METHOD__ );
    178190
     
    219231        }
    220232
     233        /**
     234         * View property missing error.
     235         * phpcs:disable WooCommerce.Commenting.CommentHooks.MissingSinceComment
     236         */
    221237        do_action( 'wc_pinterest_error', sprintf( 'View property "%s" is missing or undefined.', $property ), __METHOD__ );
    222238
  • pinterest-for-woocommerce/tags/1.3.10/uninstall.php

    r2963167 r2965797  
    99 */
    1010
    11  use Automattic\WooCommerce\Pinterest\FeedRegistration;
     11use Automattic\WooCommerce\Pinterest\FeedRegistration;
    1212
    1313if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
  • pinterest-for-woocommerce/tags/1.3.10/vendor/autoload.php

    r2963167 r2965797  
    44
    55if (PHP_VERSION_ID < 50600) {
    6     echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
    7     exit(1);
     6    if (!headers_sent()) {
     7        header('HTTP/1.1 500 Internal Server Error');
     8    }
     9    $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
     10    if (!ini_get('display_errors')) {
     11        if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
     12            fwrite(STDERR, $err);
     13        } elseif (!headers_sent()) {
     14            echo $err;
     15        }
     16    }
     17    trigger_error(
     18        $err,
     19        E_USER_ERROR
     20    );
    821}
    922
    1023require_once __DIR__ . '/composer/autoload_real.php';
    1124
    12 return ComposerAutoloaderInitb0d91b0495bc953b3db17ca6584809b6::getLoader();
     25return ComposerAutoloaderInit91e6cda75315124a675332e76ddbfa71::getLoader();
  • pinterest-for-woocommerce/tags/1.3.10/vendor/autoload_packages.php

    r2963167 r2965797  
    66 */
    77
    8 namespace Automattic\Jetpack\Autoloader\jpb0d91b0495bc953b3db17ca6584809b6;
     8namespace Automattic\Jetpack\Autoloader\jp91e6cda75315124a675332e76ddbfa71;
    99
    1010 // phpcs:ignore
  • pinterest-for-woocommerce/tags/1.3.10/vendor/automattic/jetpack-autoloader/CHANGELOG.md

    r2918824 r2965797  
    55The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
    66and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
     7
     8## [2.11.22] - 2023-08-23
     9### Changed
     10- Updated package dependencies. [#32605]
     11
     12## [2.11.21] - 2023-05-22
     13### Added
     14- Set keywords in `composer.json`. [#30756]
     15
     16## [2.11.20] - 2023-05-11
     17
     18- Updated package dependencies
     19
     20## [2.11.19] - 2023-04-25
     21### Fixed
     22- Fix example in README [#30225]
     23
     24## [2.11.18] - 2023-03-28
     25### Changed
     26- Minor internal updates.
     27
     28## [2.11.17] - 2023-03-27
     29### Fixed
     30- Don't error when processing packages specifying missing PSR paths. [#29669]
     31
     32## [2.11.16] - 2023-02-20
     33### Changed
     34- Minor internal updates.
     35
     36## [2.11.15] - 2023-01-11
     37### Changed
     38- Updated package dependencies.
     39
     40## [2.11.14] - 2022-12-19
     41### Changed
     42- Use `Composer\ClassMapGenerator\ClassMapGenerator` when available (i.e. with composer 2.4). [#27812]
     43
     44### Fixed
     45- Declare fields for PHP 8.2 compatibility. [#27949]
     46
     47## [2.11.13] - 2022-12-02
     48### Changed
     49- Updated package dependencies. [#27688]
     50
     51## [2.11.12] - 2022-11-22
     52### Changed
     53- Updated package dependencies. [#27043]
     54
     55## [2.11.11] - 2022-10-25
     56### Changed
     57- Sort data in generated `vendor/composer/jetpack_autoload_classmap.php` to avoid spurious diffs. [#26929]
     58
     59## [2.11.10] - 2022-10-05
     60
     61- Tests: Clear `COMPOSER_AUTH` environment variable when running Composer for tests. [#26404]
     62
     63## [2.11.9] - 2022-09-27
     64### Fixed
     65- Tests: Clear `COMPOSER_AUTH` environment variable when running Composer for tests. [#26404]
     66
     67## [2.11.8] - 2022-09-20
     68### Fixed
     69- Tests: skip test if it requires a version of Composer not compatible with the running version of PHP. [#26143]
     70
     71## [2.11.7] - 2022-07-26
     72### Changed
     73- Updated package dependencies. [#25158]
     74
     75## [2.11.6] - 2022-06-21
     76### Changed
     77- Renaming `master` to `trunk`.
     78
     79## [2.11.5] - 2022-05-18
     80### Fixed
     81- Fix new PHPCS sniffs. [#24366]
     82
     83## [2.11.4] - 2022-04-26
     84### Changed
     85- Updated package dependencies.
     86
     87## [2.11.3] - 2022-04-19
     88### Changed
     89- PHPCS: Fix `WordPress.Security.ValidatedSanitizedInput`
     90
     91## [2.11.2] - 2022-03-29
     92### Changed
     93- Microperformance: Use === null instead of is_null
     94
     95## [2.11.1] - 2022-03-08
     96### Removed
     97- Removed the Upgrade Handler.
     98
     99## [2.11.0] - 2022-03-08
     100### Added
     101- On plugin update, pre-load all (non-PSR-4) classes from the plugin to avoid mid-upgrade fatals.
     102
     103## [2.10.13] - 2022-03-01
     104### Fixed
     105- Fix tests for upstream phpunit change.
    7106
    8107## [2.10.12] - 2022-01-25
     
    226325- Add Custom Autoloader
    227326
     327[2.11.22]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.21...v2.11.22
     328[2.11.21]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.20...v2.11.21
     329[2.11.20]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.19...v2.11.20
     330[2.11.19]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.18...v2.11.19
     331[2.11.18]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.17...v2.11.18
     332[2.11.17]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.16...v2.11.17
     333[2.11.16]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.15...v2.11.16
     334[2.11.15]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.14...v2.11.15
     335[2.11.14]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.13...v2.11.14
     336[2.11.13]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.12...v2.11.13
     337[2.11.12]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.11...v2.11.12
     338[2.11.11]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.10...v2.11.11
     339[2.11.10]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.9...v2.11.10
     340[2.11.9]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.8...v2.11.9
     341[2.11.8]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.7...v2.11.8
     342[2.11.7]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.6...v2.11.7
     343[2.11.6]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.5...v2.11.6
     344[2.11.5]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.4...v2.11.5
     345[2.11.4]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.3...v2.11.4
     346[2.11.3]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.2...v2.11.3
     347[2.11.2]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.1...v2.11.2
     348[2.11.1]: https://github.com/Automattic/jetpack-autoloader/compare/v2.11.0...v2.11.1
     349[2.11.0]: https://github.com/Automattic/jetpack-autoloader/compare/v2.10.13...v2.11.0
     350[2.10.13]: https://github.com/Automattic/jetpack-autoloader/compare/v2.10.12...v2.10.13
    228351[2.10.12]: https://github.com/Automattic/jetpack-autoloader/compare/v2.10.11...v2.10.12
    229352[2.10.11]: https://github.com/Automattic/jetpack-autoloader/compare/v2.10.10...v2.10.11
  • pinterest-for-woocommerce/tags/1.3.10/vendor/automattic/jetpack-autoloader/README.md

    r2918824 r2965797  
    2121```json
    2222{
    23     "require-dev": {
    24         "automattic/jetpack-autoloader": "^1"
     23    "require": {
     24        "automattic/jetpack-autoloader": "^2"
    2525    }
    2626}
  • pinterest-for-woocommerce/tags/1.3.10/vendor/automattic/jetpack-autoloader/composer.json

    r2918824 r2965797  
    44    "type": "composer-plugin",
    55    "license": "GPL-2.0-or-later",
     6    "keywords": [
     7        "autoload",
     8        "autoloader",
     9        "composer",
     10        "plugin",
     11        "jetpack",
     12        "wordpress"
     13    ],
    614    "require": {
    715        "composer-plugin-api": "^1.1 || ^2.0"
    816    },
    917    "require-dev": {
    10         "yoast/phpunit-polyfills": "1.0.3",
    11         "automattic/jetpack-changelogger": "^3.0"
     18        "yoast/phpunit-polyfills": "1.1.0",
     19        "automattic/jetpack-changelogger": "^3.3.8"
    1220    },
    1321    "autoload": {
     
    2331            "./vendor/phpunit/phpunit/phpunit --colors=always"
    2432        ],
    25         "test-coverage": [
    26             "php -dpcov.directory=. ./vendor/bin/phpunit --coverage-php \"./tests/php/tmp/coverage-report.php\"",
    27             "php ./tests/php/bin/test-coverage.php \"$COVERAGE_DIR/clover.xml\""
    28         ],
    2933        "test-php": [
    3034            "@composer phpunit"
    3135        ]
    3236    },
    33     "repositories": [],
    3437    "minimum-stability": "dev",
    3538    "prefer-stable": true,
     
    4245        },
    4346        "branch-alias": {
    44             "dev-master": "2.10.x-dev"
     47            "dev-trunk": "2.11.x-dev"
    4548        }
    4649    }
  • pinterest-for-woocommerce/tags/1.3.10/vendor/automattic/jetpack-autoloader/src/AutoloadFileWriter.php

    r2918824 r2965797  
    1313// phpcs:disable WordPress.NamingConventions.ValidVariableName.PropertyNotSnakeCase
    1414// phpcs:disable WordPress.PHP.DevelopmentFunctions.error_log_var_export
    15 // phpcs:disable WordPress.WP.AlternativeFunctions.file_system_read_file_put_contents
    16 // phpcs:disable WordPress.WP.AlternativeFunctions.file_system_read_fopen
    17 // phpcs:disable WordPress.WP.AlternativeFunctions.file_system_read_fwrite
    1815
    1916namespace Automattic\Jetpack\Autoloader;
  • pinterest-for-woocommerce/tags/1.3.10/vendor/automattic/jetpack-autoloader/src/AutoloadGenerator.php

    r2918824 r2965797  
    1313// phpcs:disable WordPress.Files.FileName.InvalidClassFileName
    1414// phpcs:disable WordPress.PHP.DevelopmentFunctions.error_log_var_export
    15 // phpcs:disable WordPress.WP.AlternativeFunctions.file_system_read_file_put_contents
    16 // phpcs:disable WordPress.WP.AlternativeFunctions.file_system_read_fopen
    17 // phpcs:disable WordPress.WP.AlternativeFunctions.file_system_read_fwrite
    1815// phpcs:disable WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
    1916// phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
     
    2421namespace Automattic\Jetpack\Autoloader;
    2522
    26 use Composer\Autoload\ClassMapGenerator;
    2723use Composer\Composer;
    2824use Composer\Config;
     
    3834 */
    3935class AutoloadGenerator {
     36
     37    /**
     38     * IO object.
     39     *
     40     * @var IOInterface IO object.
     41     */
     42    private $io;
    4043
    4144    /**
     
    303306                    $this->filesystem->isAbsolutePath( $path ) ? $path : $basePath . '/' . $path
    304307                );
    305                 return ClassMapGenerator::createMap(
     308
     309                // Composer 2.4 changed the name of the class.
     310                if ( class_exists( \Composer\ClassMapGenerator\ClassMapGenerator::class ) ) {
     311                    if ( ! is_dir( $dir ) && ! is_file( $dir ) ) {
     312                        return array();
     313                    }
     314                    $generator = new \Composer\ClassMapGenerator\ClassMapGenerator();
     315                    $generator->scanPaths( $dir, $excludedClasses, 'classmap', empty( $namespace ) ? null : $namespace );
     316                    return $generator->getClassMap()->getMap();
     317                }
     318
     319                return \Composer\Autoload\ClassMapGenerator::createMap(
    306320                    $dir,
    307321                    $excludedClasses,
  • pinterest-for-woocommerce/tags/1.3.10/vendor/automattic/jetpack-autoloader/src/AutoloadProcessor.php

    r2918824 r2965797  
    120120        }
    121121
     122        ksort( $processed );
     123
    122124        return $processed;
    123125    }
  • pinterest-for-woocommerce/tags/1.3.10/vendor/automattic/jetpack-autoloader/src/CustomAutoloaderPlugin.php

    r2918824 r2965797  
    124124        $generator = new AutoloadGenerator( $this->io );
    125125        $generator->dump( $this->composer, $config, $localRepo, $package, $installationManager, 'composer', $optimize, $suffix );
    126         $this->generated = true;
    127126    }
    128127
     
    146145        // Reuse our own suffix, if any.
    147146        if ( is_readable( $vendorPath . '/autoload_packages.php' ) ) {
    148             // phpcs:ignore WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents
    149147            $content = file_get_contents( $vendorPath . '/autoload_packages.php' );
    150148            if ( preg_match( '/^namespace Automattic\\\\Jetpack\\\\Autoloader\\\\jp([^;\s]+);/m', $content, $match ) ) {
     
    155153        // Reuse Composer's suffix, if any.
    156154        if ( is_readable( $vendorPath . '/autoload.php' ) ) {
    157             // phpcs:ignore WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents
    158155            $content = file_get_contents( $vendorPath . '/autoload.php' );
    159156            if ( preg_match( '{ComposerAutoloaderInit([^:\s]+)::}', $content, $match ) ) {
  • pinterest-for-woocommerce/tags/1.3.10/vendor/automattic/jetpack-autoloader/src/class-plugin-locator.php

    r2918824 r2965797  
    8181        }
    8282
     83        // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Validated just below.
    8384        $action = isset( $_REQUEST['action'] ) ? wp_unslash( $_REQUEST['action'] ) : false;
    8485        if ( ! in_array( $action, $allowed_actions, true ) ) {
     
    9495                }
    9596
     97                // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Validated by convert_plugins_to_paths.
    9698                $plugin_slugs[] = wp_unslash( $_REQUEST['plugin'] );
    9799                break;
     
    103105                }
    104106
     107                // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Validated by convert_plugins_to_paths.
    105108                $plugin_slugs = wp_unslash( $_REQUEST['checked'] );
    106109                break;
  • pinterest-for-woocommerce/tags/1.3.10/vendor/automattic/jetpack-autoloader/src/class-version-selector.php

    r2918824 r2965797  
    2222        $use_dev_versions = defined( 'JETPACK_AUTOLOAD_DEV' ) && JETPACK_AUTOLOAD_DEV;
    2323
    24         if ( is_null( $selected_version ) ) {
     24        if ( $selected_version === null ) {
    2525            return true;
    2626        }
  • pinterest-for-woocommerce/tags/1.3.10/vendor/bin/generate-defuse-key

    r2963167 r2965797  
    109109    }
    110110
    111     if (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) {
    112         include("phpvfscomposer://" . __DIR__ . '/..'.'/defuse/php-encryption/bin/generate-defuse-key');
    113         exit(0);
     111    if (
     112        (function_exists('stream_get_wrappers') && in_array('phpvfscomposer', stream_get_wrappers(), true))
     113        || (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper'))
     114    ) {
     115        return include("phpvfscomposer://" . __DIR__ . '/..'.'/defuse/php-encryption/bin/generate-defuse-key');
    114116    }
    115117}
    116118
    117 include __DIR__ . '/..'.'/defuse/php-encryption/bin/generate-defuse-key';
     119return include __DIR__ . '/..'.'/defuse/php-encryption/bin/generate-defuse-key';
  • pinterest-for-woocommerce/tags/1.3.10/vendor/composer/ClassLoader.php

    r2963167 r2965797  
    4343class ClassLoader
    4444{
    45     /** @var ?string */
     45    /** @var \Closure(string):void */
     46    private static $includeFile;
     47
     48    /** @var string|null */
    4649    private $vendorDir;
    4750
    4851    // PSR-4
    4952    /**
    50      * @var array[]
    51      * @psalm-var array<string, array<string, int>>
     53     * @var array<string, array<string, int>>
    5254     */
    5355    private $prefixLengthsPsr4 = array();
    5456    /**
    55      * @var array[]
    56      * @psalm-var array<string, array<int, string>>
     57     * @var array<string, list<string>>
    5758     */
    5859    private $prefixDirsPsr4 = array();
    5960    /**
    60      * @var array[]
    61      * @psalm-var array<string, string>
     61     * @var list<string>
    6262     */
    6363    private $fallbackDirsPsr4 = array();
     
    6565    // PSR-0
    6666    /**
    67      * @var array[]
    68      * @psalm-var array<string, array<string, string[]>>
     67     * List of PSR-0 prefixes
     68     *
     69     * Structured as array('F (first letter)' => array('Foo\Bar (full prefix)' => array('path', 'path2')))
     70     *
     71     * @var array<string, array<string, list<string>>>
    6972     */
    7073    private $prefixesPsr0 = array();
    7174    /**
    72      * @var array[]
    73      * @psalm-var array<string, string>
     75     * @var list<string>
    7476     */
    7577    private $fallbackDirsPsr0 = array();
     
    7981
    8082    /**
    81      * @var string[]
    82      * @psalm-var array<string, string>
     83     * @var array<string, string>
    8384     */
    8485    private $classMap = array();
     
    8889
    8990    /**
    90      * @var bool[]
    91      * @psalm-var array<string, bool>
     91     * @var array<string, bool>
    9292     */
    9393    private $missingClasses = array();
    9494
    95     /** @var ?string */
     95    /** @var string|null */
    9696    private $apcuPrefix;
    9797
    9898    /**
    99      * @var self[]
     99     * @var array<string, self>
    100100     */
    101101    private static $registeredLoaders = array();
    102102
    103103    /**
    104      * @param ?string $vendorDir
     104     * @param string|null $vendorDir
    105105     */
    106106    public function __construct($vendorDir = null)
    107107    {
    108108        $this->vendorDir = $vendorDir;
    109     }
    110 
    111     /**
    112      * @return string[]
     109        self::initializeIncludeClosure();
     110    }
     111
     112    /**
     113     * @return array<string, list<string>>
    113114     */
    114115    public function getPrefixes()
     
    122123
    123124    /**
    124      * @return array[]
    125      * @psalm-return array<string, array<int, string>>
     125     * @return array<string, list<string>>
    126126     */
    127127    public function getPrefixesPsr4()
     
    131131
    132132    /**
    133      * @return array[]
    134      * @psalm-return array<string, string>
     133     * @return list<string>
    135134     */
    136135    public function getFallbackDirs()
     
    140139
    141140    /**
    142      * @return array[]
    143      * @psalm-return array<string, string>
     141     * @return list<string>
    144142     */
    145143    public function getFallbackDirsPsr4()
     
    149147
    150148    /**
    151      * @return string[] Array of classname => path
    152      * @psalm-return array<string, string>
     149     * @return array<string, string> Array of classname => path
    153150     */
    154151    public function getClassMap()
     
    158155
    159156    /**
    160      * @param string[] $classMap Class to filename map
    161      * @psalm-param array<string, string> $classMap
     157     * @param array<string, string> $classMap Class to filename map
    162158     *
    163159     * @return void
     
    176172     * appending or prepending to the ones previously set for this prefix.
    177173     *
    178      * @param string          $prefix  The prefix
    179      * @param string[]|string $paths   The PSR-0 root directories
    180      * @param bool            $prepend Whether to prepend the directories
     174     * @param string              $prefix  The prefix
     175     * @param list<string>|string $paths   The PSR-0 root directories
     176     * @param bool                $prepend Whether to prepend the directories
    181177     *
    182178     * @return void
     
    184180    public function add($prefix, $paths, $prepend = false)
    185181    {
     182        $paths = (array) $paths;
    186183        if (!$prefix) {
    187184            if ($prepend) {
    188185                $this->fallbackDirsPsr0 = array_merge(
    189                     (array) $paths,
     186                    $paths,
    190187                    $this->fallbackDirsPsr0
    191188                );
     
    193190                $this->fallbackDirsPsr0 = array_merge(
    194191                    $this->fallbackDirsPsr0,
    195                     (array) $paths
     192                    $paths
    196193                );
    197194            }
     
    202199        $first = $prefix[0];
    203200        if (!isset($this->prefixesPsr0[$first][$prefix])) {
    204             $this->prefixesPsr0[$first][$prefix] = (array) $paths;
     201            $this->prefixesPsr0[$first][$prefix] = $paths;
    205202
    206203            return;
     
    208205        if ($prepend) {
    209206            $this->prefixesPsr0[$first][$prefix] = array_merge(
    210                 (array) $paths,
     207                $paths,
    211208                $this->prefixesPsr0[$first][$prefix]
    212209            );
     
    214211            $this->prefixesPsr0[$first][$prefix] = array_merge(
    215212                $this->prefixesPsr0[$first][$prefix],
    216                 (array) $paths
     213                $paths
    217214            );
    218215        }
     
    223220     * appending or prepending to the ones previously set for this namespace.
    224221     *
    225      * @param string          $prefix  The prefix/namespace, with trailing '\\'
    226      * @param string[]|string $paths   The PSR-4 base directories
    227      * @param bool            $prepend Whether to prepend the directories
     222     * @param string              $prefix  The prefix/namespace, with trailing '\\'
     223     * @param list<string>|string $paths   The PSR-4 base directories
     224     * @param bool                $prepend Whether to prepend the directories
    228225     *
    229226     * @throws \InvalidArgumentException
     
    233230    public function addPsr4($prefix, $paths, $prepend = false)
    234231    {
     232        $paths = (array) $paths;
    235233        if (!$prefix) {
    236234            // Register directories for the root namespace.
    237235            if ($prepend) {
    238236                $this->fallbackDirsPsr4 = array_merge(
    239                     (array) $paths,
     237                    $paths,
    240238                    $this->fallbackDirsPsr4
    241239                );
     
    243241                $this->fallbackDirsPsr4 = array_merge(
    244242                    $this->fallbackDirsPsr4,
    245                     (array) $paths
     243                    $paths
    246244                );
    247245            }
     
    253251            }
    254252            $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
    255             $this->prefixDirsPsr4[$prefix] = (array) $paths;
     253            $this->prefixDirsPsr4[$prefix] = $paths;
    256254        } elseif ($prepend) {
    257255            // Prepend directories for an already registered namespace.
    258256            $this->prefixDirsPsr4[$prefix] = array_merge(
    259                 (array) $paths,
     257                $paths,
    260258                $this->prefixDirsPsr4[$prefix]
    261259            );
     
    264262            $this->prefixDirsPsr4[$prefix] = array_merge(
    265263                $this->prefixDirsPsr4[$prefix],
    266                 (array) $paths
     264                $paths
    267265            );
    268266        }
     
    273271     * replacing any others previously set for this prefix.
    274272     *
    275      * @param string          $prefix The prefix
    276      * @param string[]|string $paths  The PSR-0 base directories
     273     * @param string              $prefix The prefix
     274     * @param list<string>|string $paths  The PSR-0 base directories
    277275     *
    278276     * @return void
     
    291289     * replacing any others previously set for this namespace.
    292290     *
    293      * @param string          $prefix The prefix/namespace, with trailing '\\'
    294      * @param string[]|string $paths  The PSR-4 base directories
     291     * @param string              $prefix The prefix/namespace, with trailing '\\'
     292     * @param list<string>|string $paths  The PSR-4 base directories
    295293     *
    296294     * @throws \InvalidArgumentException
     
    426424    {
    427425        if ($file = $this->findFile($class)) {
    428             includeFile($file);
     426            $includeFile = self::$includeFile;
     427            $includeFile($file);
    429428
    430429            return true;
     
    477476
    478477    /**
    479      * Returns the currently registered loaders indexed by their corresponding vendor directories.
    480      *
    481      * @return self[]
     478     * Returns the currently registered loaders keyed by their corresponding vendor directories.
     479     *
     480     * @return array<string, self>
    482481     */
    483482    public static function getRegisteredLoaders()
     
    556555        return false;
    557556    }
     557
     558    /**
     559     * @return void
     560     */
     561    private static function initializeIncludeClosure()
     562    {
     563        if (self::$includeFile !== null) {
     564            return;
     565        }
     566
     567        /**
     568         * Scope isolated include.
     569         *
     570         * Prevents access to $this/self from included files.
     571         *
     572         * @param  string $file
     573         * @return void
     574         */
     575        self::$includeFile = \Closure::bind(static function($file) {
     576            include $file;
     577        }, null, null);
     578    }
    558579}
    559 
    560 /**
    561  * Scope isolated include.
    562  *
    563  * Prevents access to $this/self from included files.
    564  *
    565  * @param  string $file
    566  * @return void
    567  * @private
    568  */
    569 function includeFile($file)
    570 {
    571     include $file;
    572 }
  • pinterest-for-woocommerce/tags/1.3.10/vendor/composer/InstalledVersions.php

    r2963167 r2965797  
    2929    /**
    3030     * @var mixed[]|null
    31      * @psalm-var array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}|array{}|null
     31     * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null
    3232     */
    3333    private static $installed;
     
    4040    /**
    4141     * @var array[]
    42      * @psalm-var array<string, array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
     42     * @psalm-var array<string, array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
    4343     */
    4444    private static $installedByVendor = array();
     
    9999        foreach (self::getInstalled() as $installed) {
    100100            if (isset($installed['versions'][$packageName])) {
    101                 return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
     101                return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false;
    102102            }
    103103        }
     
    120120    public static function satisfies(VersionParser $parser, $packageName, $constraint)
    121121    {
    122         $constraint = $parser->parseConstraints($constraint);
     122        $constraint = $parser->parseConstraints((string) $constraint);
    123123        $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
    124124
     
    244244    /**
    245245     * @return array
    246      * @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}
     246     * @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}
    247247     */
    248248    public static function getRootPackage()
     
    258258     * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
    259259     * @return array[]
    260      * @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}
     260     * @psalm-return array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}
    261261     */
    262262    public static function getRawData()
     
    281281     *
    282282     * @return array[]
    283      * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
     283     * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
    284284     */
    285285    public static function getAllRawData()
     
    304304     * @return void
    305305     *
    306      * @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>} $data
     306     * @psalm-param array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $data
    307307     */
    308308    public static function reload($data)
     
    314314    /**
    315315     * @return array[]
    316      * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
     316     * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
    317317     */
    318318    private static function getInstalled()
     
    329329                    $installed[] = self::$installedByVendor[$vendorDir];
    330330                } elseif (is_file($vendorDir.'/composer/installed.php')) {
    331                     $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
     331                    /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
     332                    $required = require $vendorDir.'/composer/installed.php';
     333                    $installed[] = self::$installedByVendor[$vendorDir] = $required;
    332334                    if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
    333335                        self::$installed = $installed[count($installed) - 1];
     
    341343            // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
    342344            if (substr(__DIR__, -8, 1) !== 'C') {
    343                 self::$installed = require __DIR__ . '/installed.php';
     345                /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
     346                $required = require __DIR__ . '/installed.php';
     347                self::$installed = $required;
    344348            } else {
    345349                self::$installed = array();
    346350            }
    347351        }
    348         $installed[] = self::$installed;
     352
     353        if (self::$installed !== array()) {
     354            $installed[] = self::$installed;
     355        }
    349356
    350357        return $installed;
  • pinterest-for-woocommerce/tags/1.3.10/vendor/composer/autoload_real.php

    r2963167 r2965797  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInitb0d91b0495bc953b3db17ca6584809b6
     5class ComposerAutoloaderInit91e6cda75315124a675332e76ddbfa71
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInitb0d91b0495bc953b3db17ca6584809b6', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInit91e6cda75315124a675332e76ddbfa71', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInitb0d91b0495bc953b3db17ca6584809b6', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit91e6cda75315124a675332e76ddbfa71', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInitb0d91b0495bc953b3db17ca6584809b6::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInit91e6cda75315124a675332e76ddbfa71::getInitializer($loader));
    3333
    3434        $loader->register(true);
  • pinterest-for-woocommerce/tags/1.3.10/vendor/composer/autoload_static.php

    r2963167 r2965797  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInitb0d91b0495bc953b3db17ca6584809b6
     7class ComposerStaticInit91e6cda75315124a675332e76ddbfa71
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    4747    {
    4848        return \Closure::bind(function () use ($loader) {
    49             $loader->prefixLengthsPsr4 = ComposerStaticInitb0d91b0495bc953b3db17ca6584809b6::$prefixLengthsPsr4;
    50             $loader->prefixDirsPsr4 = ComposerStaticInitb0d91b0495bc953b3db17ca6584809b6::$prefixDirsPsr4;
    51             $loader->classMap = ComposerStaticInitb0d91b0495bc953b3db17ca6584809b6::$classMap;
     49            $loader->prefixLengthsPsr4 = ComposerStaticInit91e6cda75315124a675332e76ddbfa71::$prefixLengthsPsr4;
     50            $loader->prefixDirsPsr4 = ComposerStaticInit91e6cda75315124a675332e76ddbfa71::$prefixDirsPsr4;
     51            $loader->classMap = ComposerStaticInit91e6cda75315124a675332e76ddbfa71::$classMap;
    5252
    5353        }, null, ClassLoader::class);
  • pinterest-for-woocommerce/tags/1.3.10/vendor/composer/installed.json

    r2918824 r2965797  
    33        {
    44            "name": "automattic/jetpack-autoloader",
    5             "version": "v2.10.12",
    6             "version_normalized": "2.10.12.0",
     5            "version": "v2.11.22",
     6            "version_normalized": "2.11.22.0",
    77            "source": {
    88                "type": "git",
    99                "url": "https://github.com/Automattic/jetpack-autoloader.git",
    10                 "reference": "4e406f3b747261f3848d7efa6faac45a296dacca"
    11             },
    12             "dist": {
    13                 "type": "zip",
    14                 "url": "https://api.github.com/repos/Automattic/jetpack-autoloader/zipball/4e406f3b747261f3848d7efa6faac45a296dacca",
    15                 "reference": "4e406f3b747261f3848d7efa6faac45a296dacca",
     10                "reference": "32cc6b4a30e5cb5be669b4c8bed7330202e9f0c1"
     11            },
     12            "dist": {
     13                "type": "zip",
     14                "url": "https://api.github.com/repos/Automattic/jetpack-autoloader/zipball/32cc6b4a30e5cb5be669b4c8bed7330202e9f0c1",
     15                "reference": "32cc6b4a30e5cb5be669b4c8bed7330202e9f0c1",
    1616                "shasum": ""
    1717            },
     
    2020            },
    2121            "require-dev": {
    22                 "automattic/jetpack-changelogger": "^3.0",
    23                 "yoast/phpunit-polyfills": "1.0.3"
    24             },
    25             "time": "2022-01-25T17:38:25+00:00",
     22                "automattic/jetpack-changelogger": "^3.3.8",
     23                "yoast/phpunit-polyfills": "1.1.0"
     24            },
     25            "time": "2023-08-23T17:57:14+00:00",
    2626            "type": "composer-plugin",
    2727            "extra": {
     
    3333                },
    3434                "branch-alias": {
    35                     "dev-master": "2.10.x-dev"
     35                    "dev-trunk": "2.11.x-dev"
    3636                }
    3737            },
     
    5050            ],
    5151            "description": "Creates a custom autoloader for a plugin or theme.",
    52             "support": {
    53                 "source": "https://github.com/Automattic/jetpack-autoloader/tree/v2.10.12"
     52            "keywords": [
     53                "autoload",
     54                "autoloader",
     55                "composer",
     56                "jetpack",
     57                "plugin",
     58                "wordpress"
     59            ],
     60            "support": {
     61                "source": "https://github.com/Automattic/jetpack-autoloader/tree/v2.11.22"
    5462            },
    5563            "install-path": "../automattic/jetpack-autoloader"
     
    5765        {
    5866            "name": "defuse/php-encryption",
    59             "version": "v2.3.1",
    60             "version_normalized": "2.3.1.0",
     67            "version": "v2.4.0",
     68            "version_normalized": "2.4.0.0",
    6169            "source": {
    6270                "type": "git",
    6371                "url": "https://github.com/defuse/php-encryption.git",
    64                 "reference": "77880488b9954b7884c25555c2a0ea9e7053f9d2"
    65             },
    66             "dist": {
    67                 "type": "zip",
    68                 "url": "https://api.github.com/repos/defuse/php-encryption/zipball/77880488b9954b7884c25555c2a0ea9e7053f9d2",
    69                 "reference": "77880488b9954b7884c25555c2a0ea9e7053f9d2",
     72                "reference": "f53396c2d34225064647a05ca76c1da9d99e5828"
     73            },
     74            "dist": {
     75                "type": "zip",
     76                "url": "https://api.github.com/repos/defuse/php-encryption/zipball/f53396c2d34225064647a05ca76c1da9d99e5828",
     77                "reference": "f53396c2d34225064647a05ca76c1da9d99e5828",
    7078                "shasum": ""
    7179            },
     
    7684            },
    7785            "require-dev": {
    78                 "phpunit/phpunit": "^4|^5|^6|^7|^8|^9"
    79             },
    80             "time": "2021-04-09T23:57:26+00:00",
     86                "phpunit/phpunit": "^5|^6|^7|^8|^9|^10",
     87                "yoast/phpunit-polyfills": "^2.0.0"
     88            },
     89            "time": "2023-06-19T06:10:36+00:00",
    8190            "bin": [
    8291                "bin/generate-defuse-key"
     
    120129            "support": {
    121130                "issues": "https://github.com/defuse/php-encryption/issues",
    122                 "source": "https://github.com/defuse/php-encryption/tree/v2.3.1"
     131                "source": "https://github.com/defuse/php-encryption/tree/v2.4.0"
    123132            },
    124133            "install-path": "../defuse/php-encryption"
  • pinterest-for-woocommerce/tags/1.3.10/vendor/composer/installed.php

    r2963167 r2965797  
    11<?php return array(
    22    'root' => array(
    3         'pretty_version' => 'dev-release/1.3.9',
    4         'version' => 'dev-release/1.3.9',
     3        'name' => 'woocommerce/pinterest-for-woocommerce',
     4        'pretty_version' => 'dev-release/1.3.10',
     5        'version' => 'dev-release/1.3.10',
     6        'reference' => '8a13a772a1f78ebedaa6c2cbbcbe6bcb8b1aed36',
    57        'type' => 'wordpress-plugin',
    68        'install_path' => __DIR__ . '/../../',
    79        'aliases' => array(),
    8         'reference' => '9c64bda46c78ec61e2bafc4ed59055d4c971e0f0',
    9         'name' => 'woocommerce/pinterest-for-woocommerce',
    1010        'dev' => false,
    1111    ),
    1212    'versions' => array(
    1313        'automattic/jetpack-autoloader' => array(
    14             'pretty_version' => 'v2.10.12',
    15             'version' => '2.10.12.0',
     14            'pretty_version' => 'v2.11.22',
     15            'version' => '2.11.22.0',
     16            'reference' => '32cc6b4a30e5cb5be669b4c8bed7330202e9f0c1',
    1617            'type' => 'composer-plugin',
    1718            'install_path' => __DIR__ . '/../automattic/jetpack-autoloader',
    1819            'aliases' => array(),
    19             'reference' => '4e406f3b747261f3848d7efa6faac45a296dacca',
    2020            'dev_requirement' => false,
    2121        ),
    2222        'defuse/php-encryption' => array(
    23             'pretty_version' => 'v2.3.1',
    24             'version' => '2.3.1.0',
     23            'pretty_version' => 'v2.4.0',
     24            'version' => '2.4.0.0',
     25            'reference' => 'f53396c2d34225064647a05ca76c1da9d99e5828',
    2526            'type' => 'library',
    2627            'install_path' => __DIR__ . '/../defuse/php-encryption',
    2728            'aliases' => array(),
    28             'reference' => '77880488b9954b7884c25555c2a0ea9e7053f9d2',
    2929            'dev_requirement' => false,
    3030        ),
     
    3232            'pretty_version' => 'v9.99.100',
    3333            'version' => '9.99.100.0',
     34            'reference' => '996434e5492cb4c3edcb9168db6fbb1359ef965a',
    3435            'type' => 'library',
    3536            'install_path' => __DIR__ . '/../paragonie/random_compat',
    3637            'aliases' => array(),
    37             'reference' => '996434e5492cb4c3edcb9168db6fbb1359ef965a',
    3838            'dev_requirement' => false,
    3939        ),
     
    4141            'pretty_version' => '2.0.0',
    4242            'version' => '2.0.0.0',
     43            'reference' => 'b0b21b9cc87e476ba7f8817050b39274ea7d6732',
    4344            'type' => 'library',
    4445            'install_path' => __DIR__ . '/../woocommerce/action-scheduler-job-framework',
    4546            'aliases' => array(),
    46             'reference' => 'b0b21b9cc87e476ba7f8817050b39274ea7d6732',
    4747            'dev_requirement' => false,
    4848        ),
    4949        'woocommerce/pinterest-for-woocommerce' => array(
    50             'pretty_version' => 'dev-release/1.3.9',
    51             'version' => 'dev-release/1.3.9',
     50            'pretty_version' => 'dev-release/1.3.10',
     51            'version' => 'dev-release/1.3.10',
     52            'reference' => '8a13a772a1f78ebedaa6c2cbbcbe6bcb8b1aed36',
    5253            'type' => 'wordpress-plugin',
    5354            'install_path' => __DIR__ . '/../../',
    5455            'aliases' => array(),
    55             'reference' => '9c64bda46c78ec61e2bafc4ed59055d4c971e0f0',
    5656            'dev_requirement' => false,
    5757        ),
  • pinterest-for-woocommerce/tags/1.3.10/vendor/composer/jetpack_autoload_classmap.php

    r2918824 r2965797  
    88return array(
    99    'Automattic\\Jetpack\\Autoloader\\AutoloadGenerator' => array(
    10         'version' => '2.10.12.0',
     10        'version' => '2.11.22.0',
    1111        'path'    => $vendorDir . '/automattic/jetpack-autoloader/src/AutoloadGenerator.php'
    1212    ),
  • pinterest-for-woocommerce/tags/1.3.10/vendor/composer/jetpack_autoload_psr4.php

    r2963167 r2965797  
    88return array(
    99    'Defuse\\Crypto\\' => array(
    10         'version' => '2.3.1.0',
     10        'version' => '2.4.0.0',
    1111        'path'    => array( $vendorDir . '/defuse/php-encryption/src' )
    1212    ),
    1313    'Automattic\\WooCommerce\\Pinterest\\' => array(
    14         'version' => 'dev-release/1.3.9',
     14        'version' => 'dev-release/1.3.10',
    1515        'path'    => array( $baseDir . '/src' )
    1616    ),
     
    2020    ),
    2121    'Automattic\\Jetpack\\Autoloader\\' => array(
    22         'version' => '2.10.12.0',
     22        'version' => '2.11.22.0',
    2323        'path'    => array( $vendorDir . '/automattic/jetpack-autoloader/src' )
    2424    ),
  • pinterest-for-woocommerce/tags/1.3.10/vendor/composer/platform_check.php

    r2918824 r2965797  
    55$issues = array();
    66
    7 if (!(PHP_VERSION_ID >= 70300)) {
    8     $issues[] = 'Your Composer dependencies require a PHP version ">= 7.3.0". You are running ' . PHP_VERSION . '.';
     7if (!(PHP_VERSION_ID >= 70400)) {
     8    $issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.';
    99}
    1010
  • pinterest-for-woocommerce/tags/1.3.10/vendor/defuse/php-encryption/LICENSE

    r2918824 r2965797  
    11The MIT License (MIT)
    22
    3 Copyright (c) 2016 Taylor Hornby <https://defuse.ca> and Paragon Initiative
    4 Enterprises <https://paragonie.com>.
     3Copyright (c) 2016 Taylor Hornby <https://defuse.ca>
     4Copyright (c) 2016 Paragon Initiative Enterprises <https://paragonie.com>.
    55
    66Permission is hereby granted, free of charge, to any person obtaining a copy of
  • pinterest-for-woocommerce/tags/1.3.10/vendor/defuse/php-encryption/README.md

    r2918824 r2965797  
    22===============
    33
    4 [![Build Status](https://travis-ci.org/defuse/php-encryption.svg?branch=master)](https://travis-ci.org/defuse/php-encryption)
     4![Build Status](https://app.travis-ci.com/defuse/php-encryption.svg?branch=master)
    55[![codecov](https://codecov.io/gh/defuse/php-encryption/branch/master/graph/badge.svg)](https://codecov.io/gh/defuse/php-encryption)
    66[![Latest Stable Version](https://poser.pugx.org/defuse/php-encryption/v/stable)](https://packagist.org/packages/defuse/php-encryption)
     
    1616version of PHP that [still has security
    1717support](https://www.php.net/supported-versions.php), which at the time of
    18 writing means PHP 7.3 or later. Using this library with an unsupported
     18writing means PHP 8.0 or later. Using this library with an unsupported
    1919version of PHP could lead to security vulnerabilities.
    2020
    21 The current version of `php-encryption` is v2.3.1. This library is expected to
     21The current version of `php-encryption` is v2.4.0. This library is expected to
    2222remain stable and supported by its authors with security and bugfixes until at
    23 least January 1st, 2022.
     23least January 1st, 2024.
    2424
    2525The library is a joint effort between [Taylor Hornby](https://defuse.ca/) and
  • pinterest-for-woocommerce/tags/1.3.10/vendor/defuse/php-encryption/composer.json

    r2918824 r2965797  
    2727    },
    2828    "require-dev": {
    29         "phpunit/phpunit": "^4|^5|^6|^7|^8|^9"
     29        "yoast/phpunit-polyfills": "^2.0.0",
     30        "phpunit/phpunit": "^5|^6|^7|^8|^9|^10"
    3031    },
    3132    "bin": [
  • pinterest-for-woocommerce/tags/1.3.10/vendor/defuse/php-encryption/dist/Makefile

    r2918824 r2965797  
    3232defuse-crypto.phar: dist/box.json composer.lock
    3333    cp dist/box.json .
    34     php -d phar.readonly=0 $(box) build -c box.json -v
     34    php $(box) compile -c box.json -v
    3535
    3636composer.lock:
  • pinterest-for-woocommerce/tags/1.3.10/vendor/defuse/php-encryption/dist/box.json

    r2918824 r2965797  
    1616        }
    1717    ],
    18     "compactors": [
    19         "Herrera\\Box\\Compactor\\Php"
    20     ],
    2118    "main": "vendor/autoload.php",
    2219    "output": "defuse-crypto.phar",
  • pinterest-for-woocommerce/tags/1.3.10/vendor/defuse/php-encryption/docs/InternalDeveloperDocs.md

    r2918824 r2965797  
    112112```
    113113
    114 Check that the version number in composer.json is correct:
     114Check that the version number in composer.json is correct (or not specified so that it gets picked up from the git tag):
    115115
    116116```
     
    142142```
    143143cd ../
    144 ./test.sh dist/defuse-crypto.phar
     144./test.sh dist/phar-testing-autoload.php
    145145```
    146146
  • pinterest-for-woocommerce/tags/1.3.10/vendor/defuse/php-encryption/src/Core.php

    r2918824 r2965797  
    9999    public static function secureRandom($octets)
    100100    {
     101        if ($octets <= 0) {
     102            throw new Ex\CryptoException(
     103                'A zero or negative amount of random bytes was requested.'
     104            );
     105        }
    101106        self::ensureFunctionExists('random_bytes');
    102107        try {
    103             return \random_bytes($octets);
     108            return \random_bytes(max(1, $octets));
    104109        } catch (\Exception $ex) {
    105110            throw new Ex\EnvironmentIsBrokenException(
     
    286291        static $exists = null;
    287292        if ($exists === null) {
    288             $exists = \extension_loaded('mbstring') && \ini_get('mbstring.func_overload') !== false && (int)\ini_get('mbstring.func_overload') & MB_OVERLOAD_STRING;
     293            $exists = \extension_loaded('mbstring') && \function_exists('mb_strlen');
    289294        }
    290295        if ($exists) {
     
    312317        static $exists = null;
    313318        if ($exists === null) {
    314             $exists = \extension_loaded('mbstring') && \ini_get('mbstring.func_overload') !== false && (int)\ini_get('mbstring.func_overload') & MB_OVERLOAD_STRING;
     319            $exists = \extension_loaded('mbstring') && \function_exists('mb_substr');
    315320        }
    316321
     
    382387     * @return string A $key_length-byte key derived from the password and salt.
    383388     */
    384     public static function pbkdf2($algorithm, $password, $salt, $count, $key_length, $raw_output = false)
     389    public static function pbkdf2(
     390        $algorithm,
     391        #[\SensitiveParameter]
     392        $password,
     393        $salt,
     394        $count,
     395        $key_length,
     396        $raw_output = false
     397    )
    385398    {
    386399        // Type checks:
  • pinterest-for-woocommerce/tags/1.3.10/vendor/defuse/php-encryption/src/Crypto.php

    r2918824 r2965797  
    5656     * @return string
    5757     */
    58     public static function encryptWithPassword($plaintext, $password, $raw_binary = false)
     58    public static function encryptWithPassword(
     59        $plaintext,
     60        #[\SensitiveParameter]
     61        $password,
     62        $raw_binary = false
     63    )
    5964    {
    6065        if (!\is_string($plaintext)) {
     
    131136     * @return string
    132137     */
    133     public static function decryptWithPassword($ciphertext, $password, $raw_binary = false)
     138    public static function decryptWithPassword(
     139        $ciphertext,
     140        #[\SensitiveParameter]
     141        $password,
     142        $raw_binary = false
     143    )
    134144    {
    135145        if (!\is_string($ciphertext)) {
     
    167177     * @return string
    168178     */
    169     public static function legacyDecrypt($ciphertext, $key)
     179    public static function legacyDecrypt(
     180        $ciphertext,
     181        #[\SensitiveParameter]
     182        $key
     183    )
    170184    {
    171185        if (!\is_string($ciphertext)) {
     
    379393     * @return string
    380394     */
    381     protected static function plainEncrypt($plaintext, $key, $iv)
     395    protected static function plainEncrypt(
     396        $plaintext,
     397        #[\SensitiveParameter]
     398        $key,
     399        #[\SensitiveParameter]
     400        $iv
     401    )
    382402    {
    383403        Core::ensureConstantExists('OPENSSL_RAW_DATA');
     
    409429     * @return string
    410430     */
    411     protected static function plainDecrypt($ciphertext, $key, $iv, $cipherMethod)
     431    protected static function plainDecrypt(
     432        $ciphertext,
     433        #[\SensitiveParameter]
     434        $key,
     435        #[\SensitiveParameter]
     436        $iv,
     437        $cipherMethod
     438    )
    412439    {
    413440        Core::ensureConstantExists('OPENSSL_RAW_DATA');
     
    438465     * @return bool
    439466     */
    440     protected static function verifyHMAC($expected_hmac, $message, $key)
     467    protected static function verifyHMAC(
     468        $expected_hmac,
     469        $message,
     470        #[\SensitiveParameter]
     471        $key
     472    )
    441473    {
    442474        $message_hmac = \hash_hmac(Core::HASH_FUNCTION_NAME, $message, $key, true);
  • pinterest-for-woocommerce/tags/1.3.10/vendor/defuse/php-encryption/src/Encoding.php

    r2918824 r2965797  
    176176     * @return string
    177177     */
    178     public static function saveBytesToChecksummedAsciiSafeString($header, $bytes)
     178    public static function saveBytesToChecksummedAsciiSafeString(
     179        $header,
     180        #[\SensitiveParameter]
     181        $bytes
     182    )
    179183    {
    180184        // Headers must be a constant length to prevent one type's header from
     
    208212     * @return string
    209213     */
    210     public static function loadBytesFromChecksummedAsciiSafeString($expected_header, $string)
     214    public static function loadBytesFromChecksummedAsciiSafeString(
     215        $expected_header,
     216        #[\SensitiveParameter]
     217        $string
     218    )
    211219    {
    212220        // Headers must be a constant length to prevent one type's header from
  • pinterest-for-woocommerce/tags/1.3.10/vendor/defuse/php-encryption/src/File.php

    r2918824 r2965797  
    3939     * @throws Ex\IOException
    4040     */
    41     public static function encryptFileWithPassword($inputFilename, $outputFilename, $password)
     41    public static function encryptFileWithPassword(
     42        $inputFilename,
     43        $outputFilename,
     44        #[\SensitiveParameter]
     45        $password
     46    )
    4247    {
    4348        self::encryptFileInternal(
     
    8287     * @throws Ex\WrongKeyOrModifiedCiphertextException
    8388     */
    84     public static function decryptFileWithPassword($inputFilename, $outputFilename, $password)
     89    public static function decryptFileWithPassword(
     90        $inputFilename,
     91        $outputFilename,
     92        #[\SensitiveParameter]
     93        $password
     94    )
    8595    {
    8696        self::decryptFileInternal(
     
    126136     * @throws Ex\WrongKeyOrModifiedCiphertextException
    127137     */
    128     public static function encryptResourceWithPassword($inputHandle, $outputHandle, $password)
     138    public static function encryptResourceWithPassword(
     139        $inputHandle,
     140        $outputHandle,
     141        #[\SensitiveParameter]
     142        $password
     143    )
    129144    {
    130145        self::encryptResourceInternal(
     
    170185     * @throws Ex\WrongKeyOrModifiedCiphertextException
    171186     */
    172     public static function decryptResourceWithPassword($inputHandle, $outputHandle, $password)
     187    public static function decryptResourceWithPassword(
     188        $inputHandle,
     189        $outputHandle,
     190        #[\SensitiveParameter]
     191        $password
     192    )
    173193    {
    174194        self::decryptResourceInternal(
     
    197217
    198218        /* Open the input file. */
     219        self::removePHPUnitErrorHandler();
    199220        $if = @\fopen($inputFilename, 'rb');
     221        self::restorePHPUnitErrorHandler();
    200222        if ($if === false) {
    201223            throw new Ex\IOException(
     
    210232
    211233        /* Open the output file. */
     234        self::removePHPUnitErrorHandler();
    212235        $of = @\fopen($outputFilename, 'wb');
     236        self::restorePHPUnitErrorHandler();
    213237        if ($of === false) {
    214238            \fclose($if);
     
    266290
    267291        /* Open the input file. */
     292        self::removePHPUnitErrorHandler();
    268293        $if = @\fopen($inputFilename, 'rb');
     294        self::restorePHPUnitErrorHandler();
    269295        if ($if === false) {
    270296            throw new Ex\IOException(
     
    280306
    281307        /* Open the output file. */
     308        self::removePHPUnitErrorHandler();
    282309        $of = @\fopen($outputFilename, 'wb');
     310        self::restorePHPUnitErrorHandler();
    283311        if ($of === false) {
    284312            \fclose($if);
     
    771799        $error = error_get_last();
    772800        if ($error === null) {
    773             return '[no PHP error]';
     801            return '[no PHP error, or you have a custom error handler set]';
    774802        } else {
    775803            return $error['message'];
    776804        }
    777805    }
     806
     807    /**
     808     * PHPUnit sets an error handler, which prevents getLastErrorMessage() from working,
     809     * because error_get_last does not work when custom handlers are set.
     810     *
     811     * This is a workaround, which should be a no-op in production deployments, to make
     812     * getLastErrorMessage() return the error messages that the PHPUnit tests expect.
     813     *
     814     * If, in a production deployment, a custom error handler is set, the exception
     815     * handling will still work as usual, but the error messages will be confusing.
     816     *
     817     * @return void
     818     */
     819    private static function removePHPUnitErrorHandler() {
     820        if (defined('PHPUNIT_COMPOSER_INSTALL') || defined('__PHPUNIT_PHAR__')) {
     821            set_error_handler(null);
     822        }
     823    }
     824
     825    /**
     826     * Undoes what removePHPUnitErrorHandler did.
     827     *
     828     * @return void
     829     */
     830    private static function restorePHPUnitErrorHandler() {
     831        if (defined('PHPUNIT_COMPOSER_INSTALL') || defined('__PHPUNIT_PHAR__')) {
     832            restore_error_handler();
     833        }
     834    }
    778835}
  • pinterest-for-woocommerce/tags/1.3.10/vendor/defuse/php-encryption/src/Key.php

    r2918824 r2965797  
    4242     * @return Key
    4343     */
    44     public static function loadFromAsciiSafeString($saved_key_string, $do_not_trim = false)
     44    public static function loadFromAsciiSafeString(
     45        #[\SensitiveParameter]
     46        $saved_key_string,
     47        $do_not_trim = false
     48    )
    4549    {
    4650        if (!$do_not_trim) {
     
    8387     * @throws Ex\EnvironmentIsBrokenException
    8488     */
    85     private function __construct($bytes)
     89    private function __construct(
     90        #[\SensitiveParameter]
     91        $bytes
     92    )
    8693    {
    8794        Core::ensureTrue(
  • pinterest-for-woocommerce/tags/1.3.10/vendor/defuse/php-encryption/src/KeyOrPassword.php

    r2918824 r2965797  
    4040     * @return KeyOrPassword
    4141     */
    42     public static function createFromPassword($password)
     42    public static function createFromPassword(
     43        #[\SensitiveParameter]
     44        $password
     45    )
    4346    {
    4447        return new KeyOrPassword(self::SECRET_TYPE_PASSWORD, $password);
     
    134137     * @param mixed $secret      (either a Key or a password string)
    135138     */
    136     private function __construct($secret_type, $secret)
     139    private function __construct(
     140        $secret_type,
     141        #[\SensitiveParameter]
     142        $secret
     143    )
    137144    {
    138145        // The constructor is private, so these should never throw.
  • pinterest-for-woocommerce/tags/1.3.10/vendor/defuse/php-encryption/src/KeyProtectedByPassword.php

    r2918824 r2965797  
    2323     * @return KeyProtectedByPassword
    2424     */
    25     public static function createRandomPasswordProtectedKey($password)
     25    public static function createRandomPasswordProtectedKey(
     26        #[\SensitiveParameter]
     27        $password
     28    )
    2629    {
    2730        $inner_key = Key::createNewRandomKey();
     
    4851     * @return KeyProtectedByPassword
    4952     */
    50     public static function loadFromAsciiSafeString($saved_key_string)
     53    public static function loadFromAsciiSafeString(
     54        #[\SensitiveParameter]
     55        $saved_key_string
     56    )
    5157    {
    5258        $encrypted_key = Encoding::loadBytesFromChecksummedAsciiSafeString(
     
    8389     * @return Key
    8490     */
    85     public function unlockKey($password)
     91    public function unlockKey(
     92        #[\SensitiveParameter]
     93        $password
     94    )
    8695    {
    8796        try {
     
    116125     * @return KeyProtectedByPassword
    117126     */
    118     public function changePassword($current_password, $new_password)
     127    public function changePassword(
     128        #[\SensitiveParameter]
     129        $current_password,
     130        #[\SensitiveParameter]
     131        $new_password
     132    )
    119133    {
    120134        $inner_key = $this->unlockKey($current_password);
  • pinterest-for-woocommerce/tags/1.3.10/vendor/jetpack-autoloader/class-autoloader-handler.php

    r2963167 r2965797  
    66 */
    77
    8 namespace Automattic\Jetpack\Autoloader\jpb0d91b0495bc953b3db17ca6584809b6;
     8namespace Automattic\Jetpack\Autoloader\jp91e6cda75315124a675332e76ddbfa71;
    99
    1010 // phpcs:ignore
  • pinterest-for-woocommerce/tags/1.3.10/vendor/jetpack-autoloader/class-autoloader-locator.php

    r2963167 r2965797  
    66 */
    77
    8 namespace Automattic\Jetpack\Autoloader\jpb0d91b0495bc953b3db17ca6584809b6;
     8namespace Automattic\Jetpack\Autoloader\jp91e6cda75315124a675332e76ddbfa71;
    99
    1010 // phpcs:ignore
  • pinterest-for-woocommerce/tags/1.3.10/vendor/jetpack-autoloader/class-autoloader.php

    r2963167 r2965797  
    66 */
    77
    8 namespace Automattic\Jetpack\Autoloader\jpb0d91b0495bc953b3db17ca6584809b6;
     8namespace Automattic\Jetpack\Autoloader\jp91e6cda75315124a675332e76ddbfa71;
    99
    1010 // phpcs:ignore
  • pinterest-for-woocommerce/tags/1.3.10/vendor/jetpack-autoloader/class-container.php

    r2963167 r2965797  
    66 */
    77
    8 namespace Automattic\Jetpack\Autoloader\jpb0d91b0495bc953b3db17ca6584809b6;
     8namespace Automattic\Jetpack\Autoloader\jp91e6cda75315124a675332e76ddbfa71;
    99
    1010 // phpcs:ignore
  • pinterest-for-woocommerce/tags/1.3.10/vendor/jetpack-autoloader/class-hook-manager.php

    r2963167 r2965797  
    66 */
    77
    8 namespace Automattic\Jetpack\Autoloader\jpb0d91b0495bc953b3db17ca6584809b6;
     8namespace Automattic\Jetpack\Autoloader\jp91e6cda75315124a675332e76ddbfa71;
    99
    1010 // phpcs:ignore
  • pinterest-for-woocommerce/tags/1.3.10/vendor/jetpack-autoloader/class-latest-autoloader-guard.php

    r2963167 r2965797  
    66 */
    77
    8 namespace Automattic\Jetpack\Autoloader\jpb0d91b0495bc953b3db17ca6584809b6;
     8namespace Automattic\Jetpack\Autoloader\jp91e6cda75315124a675332e76ddbfa71;
    99
    1010 // phpcs:ignore
  • pinterest-for-woocommerce/tags/1.3.10/vendor/jetpack-autoloader/class-manifest-reader.php

    r2963167 r2965797  
    66 */
    77
    8 namespace Automattic\Jetpack\Autoloader\jpb0d91b0495bc953b3db17ca6584809b6;
     8namespace Automattic\Jetpack\Autoloader\jp91e6cda75315124a675332e76ddbfa71;
    99
    1010 // phpcs:ignore
  • pinterest-for-woocommerce/tags/1.3.10/vendor/jetpack-autoloader/class-path-processor.php

    r2963167 r2965797  
    66 */
    77
    8 namespace Automattic\Jetpack\Autoloader\jpb0d91b0495bc953b3db17ca6584809b6;
     8namespace Automattic\Jetpack\Autoloader\jp91e6cda75315124a675332e76ddbfa71;
    99
    1010 // phpcs:ignore
  • pinterest-for-woocommerce/tags/1.3.10/vendor/jetpack-autoloader/class-php-autoloader.php

    r2963167 r2965797  
    66 */
    77
    8 namespace Automattic\Jetpack\Autoloader\jpb0d91b0495bc953b3db17ca6584809b6;
     8namespace Automattic\Jetpack\Autoloader\jp91e6cda75315124a675332e76ddbfa71;
    99
    1010 // phpcs:ignore
  • pinterest-for-woocommerce/tags/1.3.10/vendor/jetpack-autoloader/class-plugin-locator.php

    r2963167 r2965797  
    66 */
    77
    8 namespace Automattic\Jetpack\Autoloader\jpb0d91b0495bc953b3db17ca6584809b6;
     8namespace Automattic\Jetpack\Autoloader\jp91e6cda75315124a675332e76ddbfa71;
    99
    1010 // phpcs:ignore
     
    8989        }
    9090
     91        // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Validated just below.
    9192        $action = isset( $_REQUEST['action'] ) ? wp_unslash( $_REQUEST['action'] ) : false;
    9293        if ( ! in_array( $action, $allowed_actions, true ) ) {
     
    102103                }
    103104
     105                // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Validated by convert_plugins_to_paths.
    104106                $plugin_slugs[] = wp_unslash( $_REQUEST['plugin'] );
    105107                break;
     
    111113                }
    112114
     115                // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Validated by convert_plugins_to_paths.
    113116                $plugin_slugs = wp_unslash( $_REQUEST['checked'] );
    114117                break;
  • pinterest-for-woocommerce/tags/1.3.10/vendor/jetpack-autoloader/class-plugins-handler.php

    r2963167 r2965797  
    66 */
    77
    8 namespace Automattic\Jetpack\Autoloader\jpb0d91b0495bc953b3db17ca6584809b6;
     8namespace Automattic\Jetpack\Autoloader\jp91e6cda75315124a675332e76ddbfa71;
    99
    1010 // phpcs:ignore
  • pinterest-for-woocommerce/tags/1.3.10/vendor/jetpack-autoloader/class-shutdown-handler.php

    r2963167 r2965797  
    66 */
    77
    8 namespace Automattic\Jetpack\Autoloader\jpb0d91b0495bc953b3db17ca6584809b6;
     8namespace Automattic\Jetpack\Autoloader\jp91e6cda75315124a675332e76ddbfa71;
    99
    1010 // phpcs:ignore
  • pinterest-for-woocommerce/tags/1.3.10/vendor/jetpack-autoloader/class-version-loader.php

    r2963167 r2965797  
    66 */
    77
    8 namespace Automattic\Jetpack\Autoloader\jpb0d91b0495bc953b3db17ca6584809b6;
     8namespace Automattic\Jetpack\Autoloader\jp91e6cda75315124a675332e76ddbfa71;
    99
    1010 // phpcs:ignore
  • pinterest-for-woocommerce/tags/1.3.10/vendor/jetpack-autoloader/class-version-selector.php

    r2963167 r2965797  
    66 */
    77
    8 namespace Automattic\Jetpack\Autoloader\jpb0d91b0495bc953b3db17ca6584809b6;
     8namespace Automattic\Jetpack\Autoloader\jp91e6cda75315124a675332e76ddbfa71;
    99
    1010 // phpcs:ignore
     
    3030        $use_dev_versions = defined( 'JETPACK_AUTOLOAD_DEV' ) && JETPACK_AUTOLOAD_DEV;
    3131
    32         if ( is_null( $selected_version ) ) {
     32        if ( $selected_version === null ) {
    3333            return true;
    3434        }
  • pinterest-for-woocommerce/trunk/readme.txt

    r2963167 r2965797  
    55Tested up to: 6.2
    66Requires PHP: 7.3
    7 Stable tag: 1.3.9
     7Stable tag: 1.3.10
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
Note: See TracChangeset for help on using the changeset viewer.