Skip to:
Content

bbPress.org


Ignore:
Timestamp:
06/14/2014 10:14:34 PM (12 years ago)
Author:
johnjamesjacoby
Message:

Normalize metabox UI across Forums, Topics, & Replies. Hat-tip netweb. Fixes #2463.

File:
1 edited

Legend:

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

    r5393 r5399  
    16651665}
    16661666
     1667/** Helpers *******************************************************************/
     1668
     1669/**
     1670 * Return an associative array of available reply statuses
     1671 *
     1672 * @since bbPress (r5399)
     1673 *
     1674 * @return array
     1675 */
     1676function bbp_get_reply_statuses() {
     1677        return apply_filters( 'bbp_get_reply_statuses', array(
     1678                bbp_get_public_status_id()  => _x( 'Publish', 'Publish the reply',     'bbpress' ),
     1679                bbp_get_spam_status_id()    => _x( 'Spam',    'Spam the reply',        'bbpress' ),
     1680                bbp_get_trash_status_id()   => _x( 'Trash',   'Trash the reply',       'bbpress' ),
     1681                bbp_get_pending_status_id() => _x( 'Pending', 'Mark reply as pending', 'bbpress' ),
     1682        ) );
     1683}
     1684
    16671685/** Reply Actions *************************************************************/
    16681686
Note: See TracChangeset for help on using the changeset viewer.