diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index f7b56fbf71409..495f67b32f91f 100644 --- a/src/wp-includes/post.php +++ b/src/wp-includes/post.php @@ -2515,7 +2515,7 @@ function delete_post_meta( $post_id, $meta_key, $meta_value = '' ) { function get_post_meta( $post_id, $key = '', $single = false ) { // Make sure meta is get for the post, not for a revision. $the_post = wp_is_post_revision( $post_id ); - if( $the_post ) { + if ( $the_post ) { $post_id = $the_post; }