Skip to:
Content

bbPress.org

Changeset 5417


Ignore:
Timestamp:
06/26/2014 07:45:33 PM (8 years ago)
Author:
johnjamesjacoby
Message:

Add default value for $user_id to prevent debug notice when sending subscription notifications. Props mordauk. Fixes #2620.

File:
1 edited

Legend:

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

    r5413 r5417  
    12091209    $forum_id = bbp_get_forum_id( $forum_id );
    12101210
     1211    /**
     1212     * Necessary for backwards compatibility
     1213     *
     1214     * @see https://bbpress.trac.wordpress.org/ticket/2620
     1215     */
     1216    $user_id  = 0;
     1217
    12111218    /** Topic *****************************************************************/
    12121219
Note: See TracChangeset for help on using the changeset viewer.