Changeset 7742
- Timestamp:
- 10/18/2018 03:58:47 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/privacy.php
r7738 r7742 35 35 $user = wp_get_current_user(); 36 36 37 if ( 'attachment' !== $wp_query->get( 'post_type' ) || in_array( 'administrator', $user->roles, true) ) {37 if ( 'attachment' !== $wp_query->get( 'post_type' ) || current_user_can( 'manage_options' ) ) { 38 38 return $attachments; 39 39 }
Note: See TracChangeset
for help on using the changeset viewer.