Changeset 4232
- Timestamp:
- 10/13/2016 11:11:05 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-moderators.php
r3937 r4232 8 8 const ARCHIVED_META = '_wporg_bbp_unarchived_post_status'; 9 9 const DEFAULT_STATUS = 'publish'; 10 const VIEWS = array( 'archived', 'pending', 'spam' ); 10 11 11 12 public function __construct() { … … 25 26 } 26 27 28 /** 29 * Registers views. 30 * 31 * Note: Be sure to update class constant VIEWS when adding/removing views. 32 */ 27 33 public function register_views() { 28 34 if ( ! current_user_can( 'moderate' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.