Plugin Directory

Changeset 2372768

Timestamp:
09/01/2020 05:17:33 AM (4 years ago)
Author:
varunms
Message:

Update to version 2.8.1 from GitHub

Location:
woocommerce-quick-buy
Files:
22 edited
1 copied

Legend:

Unmodified
Added
Removed
  • woocommerce-quick-buy/tags/2.8.1/classmaps.php

    r2370030 r2372768  
    11<?php
    2 // Last Updated: Thu 27-Aug-2020 | 11:42:34:am
     2// Last Updated: T:am
    33// Total Class: 14
    44
  • woocommerce-quick-buy/tags/2.8.1/i18n/wc-quick-buy.pot

    r2370030 r2372768  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Quick Buy For WooCommerce 2.8\n"
     5"Project-Id-Version: Quick Buy For WooCommerce 2.8\n"
    66"Report-Msgid-Bugs-To: https:\/\/wordpress.org\/support\/plugin\/woocommerce-quick-buy\n\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: 2020-08-27T11:42:34+05:30\n"
     12"POT-Creation-Date: 2020-0+05:30\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.2.0\n"
  • woocommerce-quick-buy/tags/2.8.1/readme.txt

    r2370030 r2372768  
    77Requires at least: 3.0
    88Tested up to: 5.5
    9 Stable tag: 2.8
     9Stable tag: 2.8
    1010Requires PHP: 7.0
    1111License: GPLv2 or later
     
    130130== Changelog ==
    131131
     132
     133
     134
     135
     136
    132137= 2.8 - 27/08/2020 =
    133138* Fixed : Long Standing 404 Error !!!
  • woocommerce-quick-buy/tags/2.8.1/vendor/autoload.php

    r2370030 r2372768  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit5b9a324c54fe0b402d11751f8d38a661::getLoader();
     7return ComposerAutoloaderInit::getLoader();
  • woocommerce-quick-buy/tags/2.8.1/vendor/composer/autoload_real.php

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

    r2370030 r2372768  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit5b9a324c54fe0b402d11751f8d38a661
     7class ComposerStaticInit
    88{
    99    public static $files = array (
     
    6868    {
    6969        return \Closure::bind(function () use ($loader) {
    70             $loader->prefixLengthsPsr4 = ComposerStaticInit5b9a324c54fe0b402d11751f8d38a661::$prefixLengthsPsr4;
    71             $loader->prefixDirsPsr4 = ComposerStaticInit5b9a324c54fe0b402d11751f8d38a661::$prefixDirsPsr4;
    72             $loader->classMap = ComposerStaticInit5b9a324c54fe0b402d11751f8d38a661::$classMap;
     70            $loader->prefixLengthsPsr4 = ComposerStaticInit::$prefixLengthsPsr4;
     71            $loader->prefixDirsPsr4 = ComposerStaticInit::$prefixDirsPsr4;
     72            $loader->classMap = ComposerStaticInit::$classMap;
    7373
    7474        }, null, ClassLoader::class);
  • woocommerce-quick-buy/tags/2.8.1/vendor/varunsridharan/vsp-framework/includes/core/traits/class-wc-helper.php

    r2351336 r2372768  
    148148     */
    149149    public static function wc_has_product_in_cart( $product_id ) {
    150         foreach ( wc()->cart->get_cart() as $key => $val ) {
    151             $_product = $val['data'];
    152 
    153             if ( $product_id === $_product->get_id() ) {
    154                 return true;
    155             }
    156         }
    157 
     150        if ( method_exists( wc()->cart, 'get_cart' ) ) {
     151            foreach ( wc()->cart->get_cart() as $key => $val ) {
     152                $_product = $val['data'];
     153
     154                if ( $product_id === $_product->get_id() ) {
     155                    return true;
     156                }
     157            }
     158        }
    158159        return false;
    159160    }
     
    170171    public static function wc_get_product_ids_in_cart( $type = ARRAY_A, $child = true ) {
    171172        $return = array();
    172         foreach ( wc()->cart->get_cart() as $key => $val ) {
    173             /** @var \WC_Product $_product */
    174             $_product = $val['data'];
    175             $parent   = $_product->get_parent_id();
    176             $id       = $_product->get_id();
    177             $key      = ( 0 === $parent ) ? $id : $parent;
    178 
    179             if ( 'only' === $child && $parent > 0 ) {
    180                 $return[ $id ] = $id;
    181             } elseif ( true === $child ) {
    182                 $return[ $key ] = $id;
    183             } elseif ( false === $child ) {
    184                 $return[ $id ] = $id;
    185             }
    186         }
    187         return ( ARRAY_N === $type ) ? array_keys( $return ) : $return;
     173        if ( method_exists( wc()->cart, 'get_cart' ) ) {
     174            foreach ( wc()->cart->get_cart() as $key => $val ) {
     175                /** @var \WC_Product $_product */
     176                $_product = $val['data'];
     177                $parent   = $_product->get_parent_id();
     178                $id       = $_product->get_id();
     179                $key      = ( 0 === $parent ) ? $id : $parent;
     180
     181                if ( 'only' === $child && $parent > 0 ) {
     182                    $return[ $id ] = $id;
     183                } elseif ( true === $child ) {
     184                    $return[ $key ] = $id;
     185                } elseif ( false === $child ) {
     186                    $return[ $id ] = $id;
     187                }
     188            }
     189            return ( ARRAY_N === $type ) ? array_keys( $return ) : $return;
     190        }
     191        return array();
    188192    }
    189193
     
    194198     */
    195199    public static function wc_clear_cart() {
    196         if ( function_exists( 'wc' ) ) {
     200        if ( function_exists( 'wc' ) ) {
    197201            wc()->cart->empty_cart( true );
    198202            return true;
     
    208212     */
    209213    public static function wc_is_cart_empty() {
    210         return ( empty( wc()->cart->get_cart() ) );
     214        return ( empty( wc()->cart->get_cart() ) );
    211215    }
    212216
  • woocommerce-quick-buy/tags/2.8.1/vendor/varunsridharan/vsp-framework/languages/vsp-framework.pot

    r2351336 r2372768  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: VSP Framework 0.8.9.3\n"
     5"Project-Id-Version: VSP Framework 0.8.9.\n"
    66"Report-Msgid-Bugs-To: https:\/\/github.com\/varunsridharan\/vsp-framework\n"
    77"Last-Translator: Varun Sridharan\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2020-07-31T12:38:31+05:30\n"
     12"POT-Creation-Date: 2020-0+05:30\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.2.0\n"
  • woocommerce-quick-buy/tags/2.8.1/vendor/varunsridharan/vsp-framework/vsp-bootstrap.php

    r2351336 r2372768  
    1313 * Framework Name: VSP Framework
    1414 * Plugin Name: VSP Framework
    15  * Version: 0.8.9.3
     15 * Version: 0.8.9.
    1616 * Author: Varun Sridharan
    1717 * Author URI:http://varunsridharan.in
     
    2929    try {
    3030        $upload_dir = wp_upload_dir( null, false );
    31         defined( 'VSP_VERSION' ) || define( 'VSP_VERSION', '0.8.9.3' );
     31        defined( 'VSP_VERSION' ) || define( 'VSP_VERSION', '0.8.9.' );
    3232        defined( 'VSP_PATH' ) || define( 'VSP_PATH', plugin_dir_path( __FILE__ ) );
    3333        defined( 'VSP_URL' ) || define( 'VSP_URL', trailingslashit( plugins_url( '', __FILE__ ) ) );
  • woocommerce-quick-buy/tags/2.8.1/vendor/varunsridharan/vsp-framework/vsp-classmaps.php

    r2351336 r2372768  
    11<?php
    2 // Last Updated: Fri 31-Jul-2020 | 12:38:31:pm
     2// Last Updated: m
    33// Total Class: 39
    44
  • woocommerce-quick-buy/tags/2.8.1/wc-quick-buy.php

    r2370030 r2372768  
    44 * Plugin URI:        https://wordpress.org/plugins/woocommerce-quick-buy/
    55 * Description:       Add Quick buy button to redirect user to checkout / cart immediately when he click quick buy button
    6  * Version:           2.8
     6 * Version:           2.8
    77 * Author:            Varun Sridharan
    88 * Author URI:        http://varunsridharan.in
     
    1919
    2020defined( 'WCQB_FILE' ) || define( 'WCQB_FILE', __FILE__ );
    21 defined( 'WCQB_VERSION' ) || define( 'WCQB_VERSION', '2.8' );
     21defined( 'WCQB_VERSION' ) || define( 'WCQB_VERSION', '2.8' );
    2222defined( 'WCQB_NAME' ) || define( 'WCQB_NAME', __( 'Quick Buy For WooCommerce', 'wc-quick-buy' ) );
    2323
  • woocommerce-quick-buy/trunk/classmaps.php

    r2370030 r2372768  
    11<?php
    2 // Last Updated: Thu 27-Aug-2020 | 11:42:34:am
     2// Last Updated: T:am
    33// Total Class: 14
    44
  • woocommerce-quick-buy/trunk/i18n/wc-quick-buy.pot

    r2370030 r2372768  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Quick Buy For WooCommerce 2.8\n"
     5"Project-Id-Version: Quick Buy For WooCommerce 2.8\n"
    66"Report-Msgid-Bugs-To: https:\/\/wordpress.org\/support\/plugin\/woocommerce-quick-buy\n\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: 2020-08-27T11:42:34+05:30\n"
     12"POT-Creation-Date: 2020-0+05:30\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.2.0\n"
  • woocommerce-quick-buy/trunk/readme.txt

    r2370030 r2372768  
    77Requires at least: 3.0
    88Tested up to: 5.5
    9 Stable tag: 2.8
     9Stable tag: 2.8
    1010Requires PHP: 7.0
    1111License: GPLv2 or later
     
    130130== Changelog ==
    131131
     132
     133
     134
     135
     136
    132137= 2.8 - 27/08/2020 =
    133138* Fixed : Long Standing 404 Error !!!
  • woocommerce-quick-buy/trunk/vendor/autoload.php

    r2370030 r2372768  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit5b9a324c54fe0b402d11751f8d38a661::getLoader();
     7return ComposerAutoloaderInit::getLoader();
  • woocommerce-quick-buy/trunk/vendor/composer/autoload_real.php

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

    r2370030 r2372768  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit5b9a324c54fe0b402d11751f8d38a661
     7class ComposerStaticInit
    88{
    99    public static $files = array (
     
    6868    {
    6969        return \Closure::bind(function () use ($loader) {
    70             $loader->prefixLengthsPsr4 = ComposerStaticInit5b9a324c54fe0b402d11751f8d38a661::$prefixLengthsPsr4;
    71             $loader->prefixDirsPsr4 = ComposerStaticInit5b9a324c54fe0b402d11751f8d38a661::$prefixDirsPsr4;
    72             $loader->classMap = ComposerStaticInit5b9a324c54fe0b402d11751f8d38a661::$classMap;
     70            $loader->prefixLengthsPsr4 = ComposerStaticInit::$prefixLengthsPsr4;
     71            $loader->prefixDirsPsr4 = ComposerStaticInit::$prefixDirsPsr4;
     72            $loader->classMap = ComposerStaticInit::$classMap;
    7373
    7474        }, null, ClassLoader::class);
  • woocommerce-quick-buy/trunk/vendor/varunsridharan/vsp-framework/includes/core/traits/class-wc-helper.php

    r2351336 r2372768  
    148148     */
    149149    public static function wc_has_product_in_cart( $product_id ) {
    150         foreach ( wc()->cart->get_cart() as $key => $val ) {
    151             $_product = $val['data'];
    152 
    153             if ( $product_id === $_product->get_id() ) {
    154                 return true;
    155             }
    156         }
    157 
     150        if ( method_exists( wc()->cart, 'get_cart' ) ) {
     151            foreach ( wc()->cart->get_cart() as $key => $val ) {
     152                $_product = $val['data'];
     153
     154                if ( $product_id === $_product->get_id() ) {
     155                    return true;
     156                }
     157            }
     158        }
    158159        return false;
    159160    }
     
    170171    public static function wc_get_product_ids_in_cart( $type = ARRAY_A, $child = true ) {
    171172        $return = array();
    172         foreach ( wc()->cart->get_cart() as $key => $val ) {
    173             /** @var \WC_Product $_product */
    174             $_product = $val['data'];
    175             $parent   = $_product->get_parent_id();
    176             $id       = $_product->get_id();
    177             $key      = ( 0 === $parent ) ? $id : $parent;
    178 
    179             if ( 'only' === $child && $parent > 0 ) {
    180                 $return[ $id ] = $id;
    181             } elseif ( true === $child ) {
    182                 $return[ $key ] = $id;
    183             } elseif ( false === $child ) {
    184                 $return[ $id ] = $id;
    185             }
    186         }
    187         return ( ARRAY_N === $type ) ? array_keys( $return ) : $return;
     173        if ( method_exists( wc()->cart, 'get_cart' ) ) {
     174            foreach ( wc()->cart->get_cart() as $key => $val ) {
     175                /** @var \WC_Product $_product */
     176                $_product = $val['data'];
     177                $parent   = $_product->get_parent_id();
     178                $id       = $_product->get_id();
     179                $key      = ( 0 === $parent ) ? $id : $parent;
     180
     181                if ( 'only' === $child && $parent > 0 ) {
     182                    $return[ $id ] = $id;
     183                } elseif ( true === $child ) {
     184                    $return[ $key ] = $id;
     185                } elseif ( false === $child ) {
     186                    $return[ $id ] = $id;
     187                }
     188            }
     189            return ( ARRAY_N === $type ) ? array_keys( $return ) : $return;
     190        }
     191        return array();
    188192    }
    189193
     
    194198     */
    195199    public static function wc_clear_cart() {
    196         if ( function_exists( 'wc' ) ) {
     200        if ( function_exists( 'wc' ) ) {
    197201            wc()->cart->empty_cart( true );
    198202            return true;
     
    208212     */
    209213    public static function wc_is_cart_empty() {
    210         return ( empty( wc()->cart->get_cart() ) );
     214        return ( empty( wc()->cart->get_cart() ) );
    211215    }
    212216
  • woocommerce-quick-buy/trunk/vendor/varunsridharan/vsp-framework/languages/vsp-framework.pot

    r2351336 r2372768  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: VSP Framework 0.8.9.3\n"
     5"Project-Id-Version: VSP Framework 0.8.9.\n"
    66"Report-Msgid-Bugs-To: https:\/\/github.com\/varunsridharan\/vsp-framework\n"
    77"Last-Translator: Varun Sridharan\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2020-07-31T12:38:31+05:30\n"
     12"POT-Creation-Date: 2020-0+05:30\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.2.0\n"
  • woocommerce-quick-buy/trunk/vendor/varunsridharan/vsp-framework/vsp-bootstrap.php

    r2351336 r2372768  
    1313 * Framework Name: VSP Framework
    1414 * Plugin Name: VSP Framework
    15  * Version: 0.8.9.3
     15 * Version: 0.8.9.
    1616 * Author: Varun Sridharan
    1717 * Author URI:http://varunsridharan.in
     
    2929    try {
    3030        $upload_dir = wp_upload_dir( null, false );
    31         defined( 'VSP_VERSION' ) || define( 'VSP_VERSION', '0.8.9.3' );
     31        defined( 'VSP_VERSION' ) || define( 'VSP_VERSION', '0.8.9.' );
    3232        defined( 'VSP_PATH' ) || define( 'VSP_PATH', plugin_dir_path( __FILE__ ) );
    3333        defined( 'VSP_URL' ) || define( 'VSP_URL', trailingslashit( plugins_url( '', __FILE__ ) ) );
  • woocommerce-quick-buy/trunk/vendor/varunsridharan/vsp-framework/vsp-classmaps.php

    r2351336 r2372768  
    11<?php
    2 // Last Updated: Fri 31-Jul-2020 | 12:38:31:pm
     2// Last Updated: m
    33// Total Class: 39
    44
  • woocommerce-quick-buy/trunk/wc-quick-buy.php

    r2370030 r2372768  
    44 * Plugin URI:        https://wordpress.org/plugins/woocommerce-quick-buy/
    55 * Description:       Add Quick buy button to redirect user to checkout / cart immediately when he click quick buy button
    6  * Version:           2.8
     6 * Version:           2.8
    77 * Author:            Varun Sridharan
    88 * Author URI:        http://varunsridharan.in
     
    1919
    2020defined( 'WCQB_FILE' ) || define( 'WCQB_FILE', __FILE__ );
    21 defined( 'WCQB_VERSION' ) || define( 'WCQB_VERSION', '2.8' );
     21defined( 'WCQB_VERSION' ) || define( 'WCQB_VERSION', '2.8' );
    2222defined( 'WCQB_NAME' ) || define( 'WCQB_NAME', __( 'Quick Buy For WooCommerce', 'wc-quick-buy' ) );
    2323
Note: See TracChangeset for help on using the changeset viewer.