diff --git a/wp-includes/comment.php b/wp-includes/comment.php index 616bb693ea..e7b96c33b5 100644 --- a/wp-includes/comment.php +++ b/wp-includes/comment.php @@ -3124,7 +3124,7 @@ function pingback( $content, $post ) { */ foreach ( (array) $post_links_temp as $link_test ) { // If we haven't pung it already and it isn't a link to itself. - if ( ! in_array( $link_test, $pung, true ) && ( url_to_postid( $link_test ) != $post->ID ) + if ( ! in_array( $link_test, $pung, true ) && ( url_to_postid( $link_test ) !== $post->ID ) // Also, let's never ping local attachments. && ! is_local_attachment( $link_test ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index b528141bff..788d029fb6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59826'; +$wp_version = '6.8-alpha-59827'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.