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:
parent
3de83926d6
commit
09bc0eb840
|
@ -94,7 +94,7 @@
|
||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
} else {
|
} else {
|
||||||
siteNavigation.find( '.menu-item-has-children > a' ).unbind( 'touchstart.twentysixteen' );
|
siteNavigation.find( '.menu-item-has-children > a' ).off( 'touchstart.twentysixteen' );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue