Skip to:
Content

bbPress.org

Changeset 6134


Ignore:
Timestamp:
12/08/2016 02:25:50 PM (5 years ago)
Author:
johnjamesjacoby
Message:

Moderation: Rename function to bbp_get_reply_toggles() to better match existing naming scheme.

See #3032.

File:
1 edited

Legend:

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

    r6133 r6134  
    16161616    }
    16171617
    1618     // Get possible reply-handler actions
    1619     $possible_actions = bbp_get_reply_handler_actions();
     1618    // Get possible reply-handler toggles
     1619    $possible_actions = bbp_get_reply_toggles();
    16201620
    16211621    // Bail if actions aren't meant for this function
     
    17951795 * @since 2.6.0 bbPress (rxxxx)
    17961796 */
    1797 function bbp_get_reply_handler_actions() {
    1798     return apply_filters( 'bbp_get_reply_handler_actions', array(
     1797function bbp_get_reply_toggles() {
     1798    return apply_filters( 'bbp_get_toggle_reply_actions', array(
    17991799        'bbp_toggle_reply_spam',
    18001800        'bbp_toggle_reply_trash',
Note: See TracChangeset for help on using the changeset viewer.