Skip to:
Content

bbPress.org

Changeset 6175


Ignore:
Timestamp:
12/18/2016 05:30:01 AM (5 years ago)
Author:
johnjamesjacoby
Message:

Tools: Use $total count in bbp_admin_migrate_user_favorites().

Also update revision number in function docs.

See #2959.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/tools.php

    r6174 r6175  
    21452145 * Upgrade user favorites for bbPress 2.6 and higher
    21462146 *
    2147  * @since 2.6.0 bbPress (rxxxx)
     2147 * @since 2.6.0 bbPress (r6174)
    21482148 *
    21492149 * @return array An array of the status code and the message
     
    21932193
    21942194    // Complete results
    2195     $result = sprintf( _n( 'Complete! %d favorite upgraded.', 'Complete! %d favorites upgraded.', $changed, 'bbpress' ), $changed );
     2195    $result = sprintf( _n( 'Complete! %d favorite upgraded.', 'Complete! %d favorites upgraded.', $total, 'bbpress' ), $total );
    21962196
    21972197    return array( 0, sprintf( $statement, $result ) );
     
    22012201 * Upgrade user subscriptions for bbPress 2.6 and higher
    22022202 *
    2203  * @since 2.6.0 bbPress (rxxxx)
     2203 * @since 2.6.0 bbPress (r6174)
    22042204 *
    22052205 * @return array An array of the status code and the message
Note: See TracChangeset for help on using the changeset viewer.