Skip to content

Commit

Permalink
Removed accidental duplication.
Browse files Browse the repository at this point in the history
  • Loading branch information
zinigor committed Feb 7, 2025
1 parent 1e13890 commit 1262c06
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -965,10 +965,6 @@ function sharing_display( $text = '', $echo = false ) {
return $text;
}

if ( empty( $post ) ) {
return $text;
}

if ( ( is_preview() || is_admin() ) && ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ) {
return $text;
}
Expand Down

0 comments on commit 1262c06

Please sign in to comment.