Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/25/2009 10:03:01 AM (14 years ago)
Author:
apeatling
Message:

Don't record comments for password protected posts. Fixes #1264 props boonebgorges.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1/bp-blogs.php

    r2080 r2115  
    449449        return false;
    450450
     451    /* If this is a password protected post, don't record the comment */
     452    if ( !empty( $post->post_password ) )
     453        return false;
     454
    451455    $recorded_comment = new BP_Blogs_Comment;
    452456    $recorded_comment->user_id = $user_id;
Note: See TracChangeset for help on using the changeset viewer.