Skip to:
Content

bbPress.org

Changeset 4798


Ignore:
Timestamp:
03/14/2013 10:24:04 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Fix typo in reply nonce error message. Props loki_racer. Fixes #2257.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/replies/functions.php

    r4795 r4798  
    112112    // Nonce check
    113113    if ( ! bbp_verify_nonce_request( 'bbp-new-reply' ) ) {
    114         bbp_add_error( 'bbp_rew_reply_nonce', __( '<strong>ERROR</strong>: Are you sure you wanted to do that?', 'bbpress' ) );
     114        bbp_add_error( 'bbp_new_reply_nonce', __( '<strong>ERROR</strong>: Are you sure you wanted to do that?', 'bbpress' ) );
    115115        return;
    116116    }
     
    12301230            'post_date_gmt' => get_gmt_from_date( $destination_post_date )
    12311231        );
    1232    
     1232
    12331233        // Update destination topic
    12341234        wp_update_post( $postarr );
    12351235    }
    1236    
     1236
    12371237    // Set the last reply ID and freshness to the move_reply
    12381238    $last_reply_id = $move_reply->ID;
    12391239    $freshness     = $move_reply->post_date;
    1240    
     1240
    12411241    // It is a new topic and we need to set some default metas to make
    12421242    // the topic display in bbp_has_topics() list
     
    12571257    bbp_update_topic_last_active_id  ( $source_topic->ID );
    12581258    bbp_update_topic_last_active_time( $source_topic->ID );
    1259    
     1259
    12601260    /** Successful Move ******************************************************/
    12611261
Note: See TracChangeset for help on using the changeset viewer.