diff --git a/wp-content/themes/twentyseventeen/assets/js/global.js b/wp-content/themes/twentyseventeen/assets/js/global.js index 9b4db2353b..966889233c 100644 --- a/wp-content/themes/twentyseventeen/assets/js/global.js +++ b/wp-content/themes/twentyseventeen/assets/js/global.js @@ -111,7 +111,9 @@ function belowEntryMetaClass( param ) { var sidebarPos, sidebarPosBottom; - if ( ! $body.hasClass( 'has-sidebar' ) || ( + if ( ! $body.hasClass( 'has-sidebar' ) || + typeof $sidebar === 'undefined' || + $sidebar.length < 1 || ( $body.hasClass( 'search' ) || $body.hasClass( 'single-attachment' ) || $body.hasClass( 'error404' ) || diff --git a/wp-includes/version.php b/wp-includes/version.php index 4a0a89254b..6ea8602c0c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-beta4-51256'; +$wp_version = '5.8-beta4-51257'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.