Changeset 3018 for branches/plugin/bbpress.php
- Timestamp:
- 04/22/2011 11:05:31 AM (15 years ago)
- File:
-
- 1 edited
-
branches/plugin/bbpress.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbpress.php
r2995 r3018 214 214 */ 215 215 var $tab_index; 216 216 217 217 218 218 /** … … 268 268 $this->spam_status_id = apply_filters( 'bbp_spam_post_status', 'spam' ); 269 269 $this->closed_status_id = apply_filters( 'bbp_closed_post_status', 'closed' ); 270 $this->orphan_status_id = apply_filters( 'bbp_orphan_post_status', 'orphan' ); 270 271 $this->trash_status_id = 'trash'; 271 272 … … 622 623 register_post_status( $this->spam_status_id, $status ); 623 624 625 // Orphan 626 $status = apply_filters( 'bbp_register_orphan_post_status', array( 627 'label' => _x( 'Orphan', 'post', 'bbpress' ), 628 'label_count' => _nx_noop( 'Orphan <span class="count">(%s)</span>', 'Orphans <span class="count">(%s)</span>', 'bbpress' ), 629 'protected' => true, 630 'exclude_from_search' => true, 631 'show_in_admin_status_list' => true, 632 'show_in_admin_all_list' => false 633 ) ); 634 register_post_status( $this->orphan_status_id, $status ); 635 624 636 /** 625 637 * Trash fix
Note: See TracChangeset
for help on using the changeset viewer.