Skip to:
Content

BuddyPress.org

Changeset 1032 for trunk/bp-forums.php


Ignore:
Timestamp:
02/09/2009 06:52:51 AM (17 years ago)
Author:
apeatling
Message:

Added nonce security checks to all BuddyPress actions. Fixes #454

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums.php

    r1025 r1032  
    159159function bp_forums_new_post( $post_text = '', $topic_id = 0 ) {
    160160    global $bbpress_live;
     161
     162    if ( !check_admin_referer( 'bp_forums_new_reply' ) )
     163        return false;
    161164   
    162165    if ( !is_object( $bbpress_live ) ) {
Note: See TracChangeset for help on using the changeset viewer.