diff --git a/wp-includes/post.php b/wp-includes/post.php index a03897e736..fd4abd459a 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -2895,7 +2895,7 @@ function stick_post( $post_id ) { $updated = false; if ( ! is_array( $stickies ) ) { - $stickies = array( $post_id ); + $stickies = array(); } else { $stickies = array_unique( array_map( 'intval', $stickies ) ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 874c41acb7..78a34241f5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-beta2-53237'; +$wp_version = '6.0-beta2-53238'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.