Skip to:
Content

bbPress.org

Ticket #2623: 2623.1.diff

File 2623.1.diff, 903 bytes (added by netweb, 12 years ago)
  • src/includes/replies/functions.php

     
    11281128                }
    11291129        }
    11301130
    1131         return (int) apply_filters( 'bbp_update_reply_to', (int) $reply_to, $reply_id );
     1131        return (int) apply_filters( 'bbp_update_reply_to', (int) $reply_id, $reply_to );
    11321132}
    11331133
    11341134/**
  • src/includes/replies/template.php

     
    15831583                        $reply_to = (int) get_post_meta( $reply_id, '_bbp_reply_to', true );
    15841584                }
    15851585
    1586                 return (int) apply_filters( 'bbp_get_reply_to', $reply_to, $reply_id );
     1586                return (int) apply_filters( 'bbp_get_reply_to', $reply_id, $reply_to );
    15871587        }
    15881588
    15891589/**