diff --git a/src/wp-includes/category-template.php b/src/wp-includes/category-template.php
index 998f23cd00..24e4daa0c6 100644
--- a/src/wp-includes/category-template.php
+++ b/src/wp-includes/category-template.php
@@ -1240,7 +1240,7 @@ function get_the_terms( $post, $taxonomy ) {
 	}
 
 	$terms = get_object_term_cache( $post->ID, $taxonomy );
-	if ( false === $terms ) {
+	if ( false == $terms ) {
 		$terms = wp_get_object_terms( $post->ID, $taxonomy );
 		if ( ! is_wp_error( $terms ) ) {
 			$term_ids = wp_list_pluck( $terms, 'term_id' );
