diff --git a/wp-content/plugins/gp-premium/gp-premium.php b/wp-content/plugins/gp-premium/gp-premium.php index 845aa5e..7f8ec75 100644 --- a/wp-content/plugins/gp-premium/gp-premium.php +++ b/wp-content/plugins/gp-premium/gp-premium.php @@ -3,7 +3,7 @@ * Plugin Name: GP Premium * Plugin URI: https://generatepress.com * Description: The entire collection of GeneratePress premium modules. - * Version: 1.12.2 + * Version: 1.12.3 * Author: Tom Usborne * Author URI: https://generatepress.com * License: GNU General Public License v2 or later @@ -17,7 +17,7 @@ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } -define( 'GP_PREMIUM_VERSION', '1.12.2' ); +define( 'GP_PREMIUM_VERSION', '1.12.3' ); define( 'GP_PREMIUM_DIR_PATH', plugin_dir_path( __FILE__ ) ); define( 'GP_LIBRARY_DIRECTORY', plugin_dir_path( __FILE__ ) . 'library/' ); define( 'GP_LIBRARY_DIRECTORY_URL', plugin_dir_url( __FILE__ ) . 'library/' ); diff --git a/wp-content/plugins/gp-premium/page-header/functions/js/metabox.js b/wp-content/plugins/gp-premium/page-header/functions/js/metabox.js index 2129ff3..f1c0f66 100644 --- a/wp-content/plugins/gp-premium/page-header/functions/js/metabox.js +++ b/wp-content/plugins/gp-premium/page-header/functions/js/metabox.js @@ -16,7 +16,7 @@ jQuery(document).ready(function($) { } } ); - $( '#_meta-generate-page-header-content' ).bind( 'input change', function() { + $( '#_meta-generate-page-header-content' ).on( 'input change', function() { if ( this.value.length ) { $( '.page-header-content-required' ).hide(); } else { diff --git a/wp-content/plugins/gp-premium/readme.txt b/wp-content/plugins/gp-premium/readme.txt index b40e369..a2229df 100644 --- a/wp-content/plugins/gp-premium/readme.txt +++ b/wp-content/plugins/gp-premium/readme.txt @@ -3,9 +3,9 @@ Contributors: edge22 Donate link: https://generatepress.com Tags: generatepress Requires at least: 4.5 -Tested up to: 5.5 +Tested up to: 5.6 Requires PHP: 5.6 -Stable tag: 1.12.2 +Stable tag: 1.12.3 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -27,6 +27,9 @@ In most cases, #1 will work fine and is way easier. == Changelog == += 1.12.3 = +* WooCommerce: Fix quantity buttons in WP 5.6 + = 1.12.2 = * Blog: Load columns CSS when using filter to enable it anywhere * Menu Plus: Fix sticky mobile header jump when using inline mobile toggle diff --git a/wp-content/plugins/gp-premium/woocommerce/functions/js/woocommerce.js b/wp-content/plugins/gp-premium/woocommerce/functions/js/woocommerce.js index 4709811..afc121c 100644 --- a/wp-content/plugins/gp-premium/woocommerce/functions/js/woocommerce.js +++ b/wp-content/plugins/gp-premium/woocommerce/functions/js/woocommerce.js @@ -157,7 +157,7 @@ jQuery( document ).ready( function( $ ) { } ); } - $( document ).on( 'ready', function() { + $( function() { "use strict"; if ( generateWooCommerce.quantityButtons ) { @@ -212,7 +212,7 @@ jQuery( document ).ready( function( $ ) { } ); } - $( '.plus, .minus' ).unbind( 'click' ); + $( '.plus, .minus' ).off( 'click' ); $( '.plus, .minus' ).on( 'click', function() { // Quantity diff --git a/wp-content/plugins/gp-premium/woocommerce/functions/js/woocommerce.min.js b/wp-content/plugins/gp-premium/woocommerce/functions/js/woocommerce.min.js index 6453721..233911c 100644 --- a/wp-content/plugins/gp-premium/woocommerce/functions/js/woocommerce.min.js +++ b/wp-content/plugins/gp-premium/woocommerce/functions/js/woocommerce.min.js @@ -1 +1 @@ -jQuery(document).ready(function(c){function t(s,o,n){var r,i;return o=o||250,function(){var t=n||this,a=+new Date,e=arguments;r&&a-'),s.after('+'),c("input.qty:not(.product-quantity input.qty)").each(function(){var t=parseFloat(c(this).attr("min"));t&&0-'),s.after('+'),d("input.qty:not(.product-quantity input.qty)").each(function(){var t=parseFloat(d(this).attr("min"));t&&0