Changeset 5421
- Timestamp:
- 04/28/2017 11:40:24 PM (9 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt
- Files:
-
- 2 edited
-
mentors/dashboard.php (modified) (1 diff)
-
wcpt-wordcamp/wordcamp-admin.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/mentors/dashboard.php
r4549 r5421 40 40 'Mentors', 41 41 'Mentors', 42 ' manage_network',42 'wordcamp_manage_mentors', 43 43 'mentors', 44 44 __NAMESPACE__ . '\render_options_page' -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-admin.php
r5381 r5421 540 540 541 541 // Only include mentor data if the Mentor username field is editable 542 if ( current_user_can( ' manage_network' ) ) {542 if ( current_user_can( 'wordcamp_manage_mentors' ) ) { 543 543 $data['Mentors']['data'] = Mentors_Dashboard\get_all_mentor_data(); 544 544 } … … 955 955 $protected_fields = array(); 956 956 957 if ( ! current_user_can( ' manage_network' ) ) {957 if ( ! current_user_can( 'wordcamp_manage_mentors' ) ) { 958 958 $protected_fields += array( 959 959 'Mentor WordPress.org User Name',
Note: See TracChangeset
for help on using the changeset viewer.