Skip to content

Commit

Permalink
fix PHPCS spacing on the patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Lax Mariappan committed Dec 7, 2023
1 parent 5d93d6b commit 8325c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/canonical.php
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ function redirect_canonical( $requested_url = null, $do_redirect = true ) {
// If attachment is attached to a post, attachment page inherits parent post's private status,
// so fetch the post to have its private status checked later.
if ( $attachment_parent_id ) {
$redirect_obj = get_post ( $attachment_parent_id );
$redirect_obj = get_post( $attachment_parent_id );
}
$redirect_url = wp_get_attachment_url( $attachment_id );

Expand Down

0 comments on commit 8325c5e

Please sign in to comment.