Skip to:
Content

bbPress.org

Changeset 5888


Ignore:
Timestamp:
08/07/2015 09:21:28 AM (9 years ago)
Author:
netweb
Message:

Bumps: Normalize type-casting in bbp_bump_user_reply_count() missed in r5732

See #2801

File:
1 edited

Legend:

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

    r5834 r5888  
    18401840
    18411841    // Add them up and filter them
    1842     $new_count = apply_filters( 'bbp_bump_user_reply_count', $user_reply_count, $user_id, $difference, $count );
     1842    $new_count = (int) apply_filters( 'bbp_bump_user_reply_count', $user_reply_count, $user_id, $difference, $count );
    18431843
    18441844    return bbp_update_user_reply_count( $user_id, $new_count );
Note: See TracChangeset for help on using the changeset viewer.