From 09bc0eb8406ddc5e22595a13cedf8453ca55e4fe Mon Sep 17 00:00:00 2001 From: audrasjb Date: Thu, 29 Jun 2023 06:30:26 +0000 Subject: [PATCH] Twenty Sixteen: Replace deprecated `unbind` method with `off`. This fixes a `Deprecated jQuery.fn.unbind()` notice. Props Malae, dilipbheda, sabernhardt, audrasjb. Fixes #58225. Built from https://develop.svn.wordpress.org/trunk@56102 git-svn-id: http://core.svn.wordpress.org/trunk@55614 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentysixteen/js/functions.js | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/twentysixteen/js/functions.js b/wp-content/themes/twentysixteen/js/functions.js index 4c3b97d032..12e2ed0ca1 100644 --- a/wp-content/themes/twentysixteen/js/functions.js +++ b/wp-content/themes/twentysixteen/js/functions.js @@ -94,7 +94,7 @@ } } ); } else { - siteNavigation.find( '.menu-item-has-children > a' ).unbind( 'touchstart.twentysixteen' ); + siteNavigation.find( '.menu-item-has-children > a' ).off( 'touchstart.twentysixteen' ); } } diff --git a/wp-includes/version.php b/wp-includes/version.php index 3589aa4737..15048afb93 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-beta2-56101'; +$wp_version = '6.3-beta2-56102'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.