Skip to:
Content

bbPress.org

Changeset 6547


Ignore:
Timestamp:
06/14/2017 11:25:20 PM (5 years ago)
Author:
johnjamesjacoby
Message:

Statuses: Update Closed status arguments in register_post_status() call.

This makes sure posts with a closed status appear in the status and all listings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bbpress.php

    r6544 r6547  
    618618            bbp_get_closed_status_id(),
    619619            apply_filters( 'bbp_register_closed_post_status', array(
    620                 'label'             => _x( 'Closed', 'post', 'bbpress' ),
    621                 'label_count'       => _nx_noop( 'Closed <span class="count">(%s)</span>', 'Closed <span class="count">(%s)</span>', 'post', 'bbpress' ),
    622                 'public'            => true,
    623                 'show_in_admin_all' => true
     620                'label'                     => _x( 'Closed', 'post', 'bbpress' ),
     621                'label_count'               => _nx_noop( 'Closed <span class="count">(%s)</span>', 'Closed <span class="count">(%s)</span>', 'post', 'bbpress' ),
     622                'public'                    => true,
     623                'show_in_admin_status_list' => true,
     624                'show_in_admin_all_list'    => true
    624625            ) )
    625626        );
Note: See TracChangeset for help on using the changeset viewer.