Skip to content

Commit

Permalink
space after if statement added
Browse files Browse the repository at this point in the history
  • Loading branch information
mhshujon committed Sep 25, 2023
1 parent 224ecad commit 440b6fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/post.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 440b6fc

Please sign in to comment.