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
This commit is contained in:
audrasjb 2023-06-29 06:30:26 +00:00
parent 3de83926d6
commit 09bc0eb840
2 changed files with 2 additions and 2 deletions

View File

@ -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' );
}
}

View File

@ -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.