Changeset 7608 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-event/class-event-admin.php
- Timestamp:
- 08/13/2018 01:41:42 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-event/class-event-admin.php
r7607 r7608 20 20 */ 21 21 public function __construct() { 22 22 23 add_action( 'add_meta_boxes', array( $this, 'metabox' ) ); 23 24 … … 151 152 } 152 153 154 if ( ! current_user_can( 'wordcamp_wrangle_wordcamps' ) ) { 155 return; 156 } 157 153 158 add_meta_box( 154 159 'wcpt_log', … … 167 172 public function add_note_metabox() { 168 173 if ( ! current_user_can( $this->get_edit_capability() ) ) { 174 return; 175 } 176 177 if ( ! current_user_can( 'wordcamp_wrangle_wordcamps' ) ) { 169 178 return; 170 179 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)