Skip to:
Content

bbPress.org


Ignore:
Timestamp:
07/10/2013 03:29:03 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Use string values when comparing against super globals. Regression introduced in r4995. See #2358.

File:
1 edited

Legend:

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

    r5009 r5021  
    713713
    714714    // Update revision log
    715     if ( !empty( $_POST['bbp_log_reply_edit'] ) && ( 1 === $_POST['bbp_log_reply_edit'] ) ) {
     715    if ( !empty( $_POST['bbp_log_reply_edit'] ) && ( "1" === $_POST['bbp_log_reply_edit'] ) ) {
    716716        $revision_id = wp_save_post_revision( $reply_id );
    717717        if ( !empty( $revision_id ) ) {
Note: See TracChangeset for help on using the changeset viewer.