Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: seofacebook.php
- ===================================================================
- --- seofacebook.php (revision 4470)
- +++ seofacebook.php (working copy)
- @@ -392,6 +392,11 @@
- global $wp_query;
- $postId = $wp_query->post->ID;
- +
- + if ( 'publish' != get_post_status( $postId ) ) {
- + return $comments;
- + }
- +
- $postUrl = get_permalink($postId);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement