Changeset 16992 for trunk/wp-admin/includes/class-wp-media-list-table.php
- Timestamp:
- 12/16/2010 09:18:28 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-media-list-table.php
r16593 r16992 17 17 } 18 18 19 function check_permissions() { 20 if ( !current_user_can('upload_files') ) 21 wp_die( __( 'You do not have permission to upload files.' ) ); 19 function ajax_user_can() { 20 return current_user_can('upload_files'); 22 21 } 23 22
Note: See TracChangeset
for help on using the changeset viewer.