Changeset 2372768
- Timestamp:
- 09/01/2020 05:17:33 AM (4 years ago)
- Location:
- woocommerce-quick-buy
- Files:
-
- 22 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-quick-buy/tags/2.8.1/classmaps.php
r2370030 r2372768 1 1 <?php 2 // Last Updated: T hu 27-Aug-2020 | 11:42:34:am2 // Last Updated: T:am 3 3 // Total Class: 14 4 4 -
woocommerce-quick-buy/tags/2.8.1/i18n/wc-quick-buy.pot
r2370030 r2372768 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Quick Buy For WooCommerce 2.8 \n"5 "Project-Id-Version: Quick Buy For WooCommerce 2.8\n" 6 6 "Report-Msgid-Bugs-To: https:\/\/wordpress.org\/support\/plugin\/woocommerce-quick-buy\n\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2020-0 8-27T11:42:34+05:30\n"12 "POT-Creation-Date: 2020-0+05:30\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.2.0\n" -
woocommerce-quick-buy/tags/2.8.1/readme.txt
r2370030 r2372768 7 7 Requires at least: 3.0 8 8 Tested up to: 5.5 9 Stable tag: 2.8 9 Stable tag: 2.8 10 10 Requires PHP: 7.0 11 11 License: GPLv2 or later … … 130 130 == Changelog == 131 131 132 133 134 135 136 132 137 = 2.8 - 27/08/2020 = 133 138 * Fixed : Long Standing 404 Error !!! -
woocommerce-quick-buy/tags/2.8.1/vendor/autoload.php
r2370030 r2372768 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 5b9a324c54fe0b402d11751f8d38a661::getLoader();7 return ComposerAutoloaderInit::getLoader(); -
woocommerce-quick-buy/tags/2.8.1/vendor/composer/autoload_real.php
r2370030 r2372768 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 5b9a324c54fe0b402d11751f8d38a6615 class ComposerAutoloaderInit 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit 5b9a324c54fe0b402d11751f8d38a661', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInit', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(); 27 spl_autoload_unregister(array('ComposerAutoloaderInit 5b9a324c54fe0b402d11751f8d38a661', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInit', 'loadClassLoader')); 28 28 29 29 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 31 31 require_once __DIR__ . '/autoload_static.php'; 32 32 33 call_user_func(\Composer\Autoload\ComposerStaticInit 5b9a324c54fe0b402d11751f8d38a661::getInitializer($loader));33 call_user_func(\Composer\Autoload\ComposerStaticInit::getInitializer($loader)); 34 34 } else { 35 35 $map = require __DIR__ . '/autoload_namespaces.php'; … … 52 52 53 53 if ($useStaticLoader) { 54 $includeFiles = Composer\Autoload\ComposerStaticInit 5b9a324c54fe0b402d11751f8d38a661::$files;54 $includeFiles = Composer\Autoload\ComposerStaticInit::$files; 55 55 } else { 56 56 $includeFiles = require __DIR__ . '/autoload_files.php'; 57 57 } 58 58 foreach ($includeFiles as $fileIdentifier => $file) { 59 composerRequire 5b9a324c54fe0b402d11751f8d38a661($fileIdentifier, $file);59 composerRequire($fileIdentifier, $file); 60 60 } 61 61 … … 64 64 } 65 65 66 function composerRequire 5b9a324c54fe0b402d11751f8d38a661($fileIdentifier, $file)66 function composerRequire($fileIdentifier, $file) 67 67 { 68 68 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
woocommerce-quick-buy/tags/2.8.1/vendor/composer/autoload_static.php
r2370030 r2372768 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 5b9a324c54fe0b402d11751f8d38a6617 class ComposerStaticInit 8 8 { 9 9 public static $files = array ( … … 68 68 { 69 69 return \Closure::bind(function () use ($loader) { 70 $loader->prefixLengthsPsr4 = ComposerStaticInit 5b9a324c54fe0b402d11751f8d38a661::$prefixLengthsPsr4;71 $loader->prefixDirsPsr4 = ComposerStaticInit 5b9a324c54fe0b402d11751f8d38a661::$prefixDirsPsr4;72 $loader->classMap = ComposerStaticInit 5b9a324c54fe0b402d11751f8d38a661::$classMap;70 $loader->prefixLengthsPsr4 = ComposerStaticInit::$prefixLengthsPsr4; 71 $loader->prefixDirsPsr4 = ComposerStaticInit::$prefixDirsPsr4; 72 $loader->classMap = ComposerStaticInit::$classMap; 73 73 74 74 }, null, ClassLoader::class); -
woocommerce-quick-buy/tags/2.8.1/vendor/varunsridharan/vsp-framework/includes/core/traits/class-wc-helper.php
r2351336 r2372768 148 148 */ 149 149 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 } 158 159 return false; 159 160 } … … 170 171 public static function wc_get_product_ids_in_cart( $type = ARRAY_A, $child = true ) { 171 172 $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(); 188 192 } 189 193 … … 194 198 */ 195 199 public static function wc_clear_cart() { 196 if ( function_exists( 'wc' ) ) {200 if ( function_exists( 'wc' ) ) { 197 201 wc()->cart->empty_cart( true ); 198 202 return true; … … 208 212 */ 209 213 public static function wc_is_cart_empty() { 210 return ( empty( wc()->cart->get_cart() ) );214 return ( empty( wc()->cart->get_cart() ) ); 211 215 } 212 216 -
woocommerce-quick-buy/tags/2.8.1/vendor/varunsridharan/vsp-framework/languages/vsp-framework.pot
r2351336 r2372768 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: VSP Framework 0.8.9. 3\n"5 "Project-Id-Version: VSP Framework 0.8.9.\n" 6 6 "Report-Msgid-Bugs-To: https:\/\/github.com\/varunsridharan\/vsp-framework\n" 7 7 "Last-Translator: Varun Sridharan\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2020-0 7-31T12:38:31+05:30\n"12 "POT-Creation-Date: 2020-0+05:30\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.2.0\n" -
woocommerce-quick-buy/tags/2.8.1/vendor/varunsridharan/vsp-framework/vsp-bootstrap.php
r2351336 r2372768 13 13 * Framework Name: VSP Framework 14 14 * Plugin Name: VSP Framework 15 * Version: 0.8.9. 315 * Version: 0.8.9. 16 16 * Author: Varun Sridharan 17 17 * Author URI:http://varunsridharan.in … … 29 29 try { 30 30 $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.' ); 32 32 defined( 'VSP_PATH' ) || define( 'VSP_PATH', plugin_dir_path( __FILE__ ) ); 33 33 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 1 1 <?php 2 // Last Updated: Fri 31-Jul-2020 | 12:38:31:pm2 // Last Updated: m 3 3 // Total Class: 39 4 4 -
woocommerce-quick-buy/tags/2.8.1/wc-quick-buy.php
r2370030 r2372768 4 4 * Plugin URI: https://wordpress.org/plugins/woocommerce-quick-buy/ 5 5 * 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 7 7 * Author: Varun Sridharan 8 8 * Author URI: http://varunsridharan.in … … 19 19 20 20 defined( 'WCQB_FILE' ) || define( 'WCQB_FILE', __FILE__ ); 21 defined( 'WCQB_VERSION' ) || define( 'WCQB_VERSION', '2.8 ' );21 defined( 'WCQB_VERSION' ) || define( 'WCQB_VERSION', '2.8' ); 22 22 defined( 'WCQB_NAME' ) || define( 'WCQB_NAME', __( 'Quick Buy For WooCommerce', 'wc-quick-buy' ) ); 23 23 -
woocommerce-quick-buy/trunk/classmaps.php
r2370030 r2372768 1 1 <?php 2 // Last Updated: T hu 27-Aug-2020 | 11:42:34:am2 // Last Updated: T:am 3 3 // Total Class: 14 4 4 -
woocommerce-quick-buy/trunk/i18n/wc-quick-buy.pot
r2370030 r2372768 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Quick Buy For WooCommerce 2.8 \n"5 "Project-Id-Version: Quick Buy For WooCommerce 2.8\n" 6 6 "Report-Msgid-Bugs-To: https:\/\/wordpress.org\/support\/plugin\/woocommerce-quick-buy\n\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2020-0 8-27T11:42:34+05:30\n"12 "POT-Creation-Date: 2020-0+05:30\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.2.0\n" -
woocommerce-quick-buy/trunk/readme.txt
r2370030 r2372768 7 7 Requires at least: 3.0 8 8 Tested up to: 5.5 9 Stable tag: 2.8 9 Stable tag: 2.8 10 10 Requires PHP: 7.0 11 11 License: GPLv2 or later … … 130 130 == Changelog == 131 131 132 133 134 135 136 132 137 = 2.8 - 27/08/2020 = 133 138 * Fixed : Long Standing 404 Error !!! -
woocommerce-quick-buy/trunk/vendor/autoload.php
r2370030 r2372768 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 5b9a324c54fe0b402d11751f8d38a661::getLoader();7 return ComposerAutoloaderInit::getLoader(); -
woocommerce-quick-buy/trunk/vendor/composer/autoload_real.php
r2370030 r2372768 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 5b9a324c54fe0b402d11751f8d38a6615 class ComposerAutoloaderInit 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit 5b9a324c54fe0b402d11751f8d38a661', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInit', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(); 27 spl_autoload_unregister(array('ComposerAutoloaderInit 5b9a324c54fe0b402d11751f8d38a661', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInit', 'loadClassLoader')); 28 28 29 29 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 31 31 require_once __DIR__ . '/autoload_static.php'; 32 32 33 call_user_func(\Composer\Autoload\ComposerStaticInit 5b9a324c54fe0b402d11751f8d38a661::getInitializer($loader));33 call_user_func(\Composer\Autoload\ComposerStaticInit::getInitializer($loader)); 34 34 } else { 35 35 $map = require __DIR__ . '/autoload_namespaces.php'; … … 52 52 53 53 if ($useStaticLoader) { 54 $includeFiles = Composer\Autoload\ComposerStaticInit 5b9a324c54fe0b402d11751f8d38a661::$files;54 $includeFiles = Composer\Autoload\ComposerStaticInit::$files; 55 55 } else { 56 56 $includeFiles = require __DIR__ . '/autoload_files.php'; 57 57 } 58 58 foreach ($includeFiles as $fileIdentifier => $file) { 59 composerRequire 5b9a324c54fe0b402d11751f8d38a661($fileIdentifier, $file);59 composerRequire($fileIdentifier, $file); 60 60 } 61 61 … … 64 64 } 65 65 66 function composerRequire 5b9a324c54fe0b402d11751f8d38a661($fileIdentifier, $file)66 function composerRequire($fileIdentifier, $file) 67 67 { 68 68 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
woocommerce-quick-buy/trunk/vendor/composer/autoload_static.php
r2370030 r2372768 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 5b9a324c54fe0b402d11751f8d38a6617 class ComposerStaticInit 8 8 { 9 9 public static $files = array ( … … 68 68 { 69 69 return \Closure::bind(function () use ($loader) { 70 $loader->prefixLengthsPsr4 = ComposerStaticInit 5b9a324c54fe0b402d11751f8d38a661::$prefixLengthsPsr4;71 $loader->prefixDirsPsr4 = ComposerStaticInit 5b9a324c54fe0b402d11751f8d38a661::$prefixDirsPsr4;72 $loader->classMap = ComposerStaticInit 5b9a324c54fe0b402d11751f8d38a661::$classMap;70 $loader->prefixLengthsPsr4 = ComposerStaticInit::$prefixLengthsPsr4; 71 $loader->prefixDirsPsr4 = ComposerStaticInit::$prefixDirsPsr4; 72 $loader->classMap = ComposerStaticInit::$classMap; 73 73 74 74 }, null, ClassLoader::class); -
woocommerce-quick-buy/trunk/vendor/varunsridharan/vsp-framework/includes/core/traits/class-wc-helper.php
r2351336 r2372768 148 148 */ 149 149 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 } 158 159 return false; 159 160 } … … 170 171 public static function wc_get_product_ids_in_cart( $type = ARRAY_A, $child = true ) { 171 172 $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(); 188 192 } 189 193 … … 194 198 */ 195 199 public static function wc_clear_cart() { 196 if ( function_exists( 'wc' ) ) {200 if ( function_exists( 'wc' ) ) { 197 201 wc()->cart->empty_cart( true ); 198 202 return true; … … 208 212 */ 209 213 public static function wc_is_cart_empty() { 210 return ( empty( wc()->cart->get_cart() ) );214 return ( empty( wc()->cart->get_cart() ) ); 211 215 } 212 216 -
woocommerce-quick-buy/trunk/vendor/varunsridharan/vsp-framework/languages/vsp-framework.pot
r2351336 r2372768 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: VSP Framework 0.8.9. 3\n"5 "Project-Id-Version: VSP Framework 0.8.9.\n" 6 6 "Report-Msgid-Bugs-To: https:\/\/github.com\/varunsridharan\/vsp-framework\n" 7 7 "Last-Translator: Varun Sridharan\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2020-0 7-31T12:38:31+05:30\n"12 "POT-Creation-Date: 2020-0+05:30\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.2.0\n" -
woocommerce-quick-buy/trunk/vendor/varunsridharan/vsp-framework/vsp-bootstrap.php
r2351336 r2372768 13 13 * Framework Name: VSP Framework 14 14 * Plugin Name: VSP Framework 15 * Version: 0.8.9. 315 * Version: 0.8.9. 16 16 * Author: Varun Sridharan 17 17 * Author URI:http://varunsridharan.in … … 29 29 try { 30 30 $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.' ); 32 32 defined( 'VSP_PATH' ) || define( 'VSP_PATH', plugin_dir_path( __FILE__ ) ); 33 33 defined( 'VSP_URL' ) || define( 'VSP_URL', trailingslashit( plugins_url( '', __FILE__ ) ) ); -
woocommerce-quick-buy/trunk/vendor/varunsridharan/vsp-framework/vsp-classmaps.php
r2351336 r2372768 1 1 <?php 2 // Last Updated: Fri 31-Jul-2020 | 12:38:31:pm2 // Last Updated: m 3 3 // Total Class: 39 4 4 -
woocommerce-quick-buy/trunk/wc-quick-buy.php
r2370030 r2372768 4 4 * Plugin URI: https://wordpress.org/plugins/woocommerce-quick-buy/ 5 5 * 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 7 7 * Author: Varun Sridharan 8 8 * Author URI: http://varunsridharan.in … … 19 19 20 20 defined( 'WCQB_FILE' ) || define( 'WCQB_FILE', __FILE__ ); 21 defined( 'WCQB_VERSION' ) || define( 'WCQB_VERSION', '2.8 ' );21 defined( 'WCQB_VERSION' ) || define( 'WCQB_VERSION', '2.8' ); 22 22 defined( 'WCQB_NAME' ) || define( 'WCQB_NAME', __( 'Quick Buy For WooCommerce', 'wc-quick-buy' ) ); 23 23
Note: See TracChangeset
for help on using the changeset viewer.