Skip to:
Content

bbPress.org

Changeset 6138


Ignore:
Timestamp:
12/08/2016 03:45:16 PM (8 years ago)
Author:
johnjamesjacoby
Message:

Moderation: Add error message if reply could not be found or no longer exists.

See #3032.

File:
1 edited

Legend:

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

    r6137 r6138  
    16301630    $reply = bbp_get_reply( $reply_id );
    16311631    if ( empty( $reply ) ) {
     1632        bbp_add_error( 'bbp_toggle_reply_exists', __( '<strong>ERROR:</strong> This reply could not be found or no longer exists.', 'bbpress' ) );
    16321633        return;
    16331634    }
Note: See TracChangeset for help on using the changeset viewer.