Plugin Directory

Changeset 3118980


Ignore:
Timestamp:
07/16/2024 08:28:59 AM (21 months ago)
Author:
Ecwid
Message:

Update to version 6.12.16 from GitHub

Location:
ecwid-shopping-cart
Files:
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • ecwid-shopping-cart/tags/6.12.16/ecwid-shopping-cart.php

    r3116030 r3118980  
    66Text Domain: ecwid-shopping-cart
    77Author: Ecwid Ecommerce
    8 Version: 6.12.15
     8Version: 6.12.16
    99Author URI: https://ecwid.to/ecwid-site
    1010License: GPLv2 or later
     
    28142814
    28152815    $results = array();
    2816     $results['https_post_error'] = wp_remote_post($ecwid_oauth->get_test_post_url());
     2816    $results['https_post_error'] = wp_remote_post(
     2817        $ecwid_oauth->get_test_post_url(),
     2818        array('timeout' => 20)
     2819    );
    28172820
    28182821    foreach ($results as $type => $value) {
  • ecwid-shopping-cart/tags/6.12.16/includes/class-ecwid-admin-main-page.php

    r3110860 r3118980  
    116116        }
    117117
    118         $result = $request->do_request();
     118        $result = $request->do_request( array( 'timeout' => 20 ) );
    119119
    120120        if ( @$result['code'] == 403 && (
     
    134134                    return;
    135135                }
    136                 $result = $request->do_request();
     136                $result = $request->do_request( array( 'timeout' => 20 ) );
    137137
    138138                if ( $result['code'] == 200 ) {
     
    144144
    145145            $request = Ecwid_Http::create_get( 'embedded_admin_iframe', $iframe_src, array( Ecwid_Http::POLICY_RETURN_VERBOSE ) );
    146             $result  = $request->do_request();
     146            $result  = $request->do_request( array( 'timeout' => 20 ) );
    147147        }//end if
    148148
  • ecwid-shopping-cart/tags/6.12.16/includes/class-ecwid-admin-storefront-page.php

    r3116030 r3118980  
    7070
    7171            $api = new Ecwid_Api_V3();
    72             $res = $api->get_products( array( 'responseFields' => 'total,count,items(id,name)' ) );
     72            $res = $api->get_products( array( 'responseFields' => 'total,count,items(id,name,enabled)' ) );
    7373            if ( $res ) {
    7474                $products       = $res->items;
  • ecwid-shopping-cart/tags/6.12.16/includes/class-ecwid-nav-menus.php

    r3116030 r3118980  
    244244                        array(
    245245                            'parent'         => 0,
    246                             'responseFields' => 'total,count,items(id,name,url,nameTranslated,orderBy)',
     246                            'responseFields' => 'total,count,items(id,name,url,enabled,nameTranslated,orderBy)',
    247247                        )
    248248                    );
  • ecwid-shopping-cart/tags/6.12.16/includes/class-ecwid-oauth.php

    r3002218 r3118980  
    3333
    3434    public function test_post() {
    35         $return = EcwidPlatform::http_post_request( $this->get_test_post_url() );
     35        $return = EcwidPlatform::http_post_request(
     36            $this->get_test_post_url(),
     37            array(),
     38            array( 'timeout' => 20 )
     39        );
    3640
    3741        return is_array( $return );
     
    117121        );
    118122
    119         $return = $request->do_request( array( 'body' => $params ) );
     123        $return = $request->do_request(
     124            array(
     125                'body'    => $params,
     126                'timeout' => 20,
     127            )
     128        );
    120129
    121130        $result = new stdClass();
  • ecwid-shopping-cart/tags/6.12.16/readme.txt

    r3116043 r3118980  
    66Requires at least: 4.4
    77Tested up to: 6.6
    8 Stable tag: 6.12.15
     8Stable tag: 6.12.16
    99
    1010Powerful, easy to use ecommerce shopping cart for WordPress. Sell on Facebook and Instagram. iPhone & Android apps. Superb support. Free plan available.
     
    154154
    155155== Changelog ==
     156= 6.12.16 - Jul 16, 2024 =
     157- Resolved an issue with the store sometimes failing to connect to a plugin.
     158- Additionally, we've fixed a problem that in some cases caused direct category links to display a 404 Not Found page.
     159
    156160= 6.12.15 - Jul 10, 2024 =
    157161- After the last update, the our ecommerce plugin could cause an issue with urls and an issue with loading the admin area. We have fixed these issues.
  • ecwid-shopping-cart/trunk/ecwid-shopping-cart.php

    r3116030 r3118980  
    66Text Domain: ecwid-shopping-cart
    77Author: Ecwid Ecommerce
    8 Version: 6.12.15
     8Version: 6.12.16
    99Author URI: https://ecwid.to/ecwid-site
    1010License: GPLv2 or later
     
    28142814
    28152815    $results = array();
    2816     $results['https_post_error'] = wp_remote_post($ecwid_oauth->get_test_post_url());
     2816    $results['https_post_error'] = wp_remote_post(
     2817        $ecwid_oauth->get_test_post_url(),
     2818        array('timeout' => 20)
     2819    );
    28172820
    28182821    foreach ($results as $type => $value) {
  • ecwid-shopping-cart/trunk/includes/class-ecwid-admin-main-page.php

    r3110860 r3118980  
    116116        }
    117117
    118         $result = $request->do_request();
     118        $result = $request->do_request( array( 'timeout' => 20 ) );
    119119
    120120        if ( @$result['code'] == 403 && (
     
    134134                    return;
    135135                }
    136                 $result = $request->do_request();
     136                $result = $request->do_request( array( 'timeout' => 20 ) );
    137137
    138138                if ( $result['code'] == 200 ) {
     
    144144
    145145            $request = Ecwid_Http::create_get( 'embedded_admin_iframe', $iframe_src, array( Ecwid_Http::POLICY_RETURN_VERBOSE ) );
    146             $result  = $request->do_request();
     146            $result  = $request->do_request( array( 'timeout' => 20 ) );
    147147        }//end if
    148148
  • ecwid-shopping-cart/trunk/includes/class-ecwid-admin-storefront-page.php

    r3116030 r3118980  
    7070
    7171            $api = new Ecwid_Api_V3();
    72             $res = $api->get_products( array( 'responseFields' => 'total,count,items(id,name)' ) );
     72            $res = $api->get_products( array( 'responseFields' => 'total,count,items(id,name,enabled)' ) );
    7373            if ( $res ) {
    7474                $products       = $res->items;
  • ecwid-shopping-cart/trunk/includes/class-ecwid-nav-menus.php

    r3116030 r3118980  
    244244                        array(
    245245                            'parent'         => 0,
    246                             'responseFields' => 'total,count,items(id,name,url,nameTranslated,orderBy)',
     246                            'responseFields' => 'total,count,items(id,name,url,enabled,nameTranslated,orderBy)',
    247247                        )
    248248                    );
  • ecwid-shopping-cart/trunk/includes/class-ecwid-oauth.php

    r3002218 r3118980  
    3333
    3434    public function test_post() {
    35         $return = EcwidPlatform::http_post_request( $this->get_test_post_url() );
     35        $return = EcwidPlatform::http_post_request(
     36            $this->get_test_post_url(),
     37            array(),
     38            array( 'timeout' => 20 )
     39        );
    3640
    3741        return is_array( $return );
     
    117121        );
    118122
    119         $return = $request->do_request( array( 'body' => $params ) );
     123        $return = $request->do_request(
     124            array(
     125                'body'    => $params,
     126                'timeout' => 20,
     127            )
     128        );
    120129
    121130        $result = new stdClass();
  • ecwid-shopping-cart/trunk/readme.txt

    r3116043 r3118980  
    66Requires at least: 4.4
    77Tested up to: 6.6
    8 Stable tag: 6.12.15
     8Stable tag: 6.12.16
    99
    1010Powerful, easy to use ecommerce shopping cart for WordPress. Sell on Facebook and Instagram. iPhone & Android apps. Superb support. Free plan available.
     
    154154
    155155== Changelog ==
     156= 6.12.16 - Jul 16, 2024 =
     157- Resolved an issue with the store sometimes failing to connect to a plugin.
     158- Additionally, we've fixed a problem that in some cases caused direct category links to display a 404 Not Found page.
     159
    156160= 6.12.15 - Jul 10, 2024 =
    157161- After the last update, the our ecommerce plugin could cause an issue with urls and an issue with loading the admin area. We have fixed these issues.
Note: See TracChangeset for help on using the changeset viewer.