diff --git a/wp-content/themes/twentyfifteen/js/functions.js b/wp-content/themes/twentyfifteen/js/functions.js index b560356c1a..558869ac61 100644 --- a/wp-content/themes/twentyfifteen/js/functions.js +++ b/wp-content/themes/twentyfifteen/js/functions.js @@ -60,7 +60,12 @@ } ); } )(); - // Add or remove ARIA attributes. + /** + * @summary Add or remove ARIA attributes. + * Uses jQuery's width() function to determine the size of the window and add + * the default ARIA attributes for the menu toggle if it's visible. + * @since Twenty Fifteen 1.1 + */ function onResizeARIA() { if ( 955 > $window.width() ) { button.attr( 'aria-expanded', 'false' ); diff --git a/wp-content/themes/twentyfourteen/js/functions.js b/wp-content/themes/twentyfourteen/js/functions.js index d50443940a..603e1379a0 100644 --- a/wp-content/themes/twentyfourteen/js/functions.js +++ b/wp-content/themes/twentyfourteen/js/functions.js @@ -121,7 +121,12 @@ } ); } ); - // Add or remove ARIA attributes. + /** + * @summary Add or remove ARIA attributes. + * Uses jQuery's width() function to determine the size of the window and add + * the default ARIA attributes for the menu toggle if it's visible. + * @since Twenty Fourteen 1.4 + */ function onResizeARIA() { if ( 781 > _window.width() ) { button.attr( 'aria-expanded', 'false' ); diff --git a/wp-content/themes/twentythirteen/js/functions.js b/wp-content/themes/twentythirteen/js/functions.js index 522457bf80..eb17a0fb1b 100644 --- a/wp-content/themes/twentythirteen/js/functions.js +++ b/wp-content/themes/twentythirteen/js/functions.js @@ -74,7 +74,12 @@ } ); } )(); - // Add or remove ARIA attributes. + /** + * @summary Add or remove ARIA attributes. + * Uses jQuery's width() function to determine the size of the window and add + * the default ARIA attributes for the menu toggle if it's visible. + * @since Twenty Thirteen 1.5 + */ function onResizeARIA() { if ( 643 > _window.width() ) { button.attr( 'aria-expanded', 'false' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index b8305103b9..180fd9eb05 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-beta1-31813'; +$wp_version = '4.2-beta1-31814'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.