- Timestamp:
- 12/16/2010 09:18:28 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-theme-install-list-table.php
r16710 r16992 9 9 class WP_Theme_Install_List_Table extends WP_List_Table { 10 10 11 function check_permissions() { 12 if ( ! current_user_can('install_themes') ) 13 wp_die( __( 'You do not have sufficient permissions to install themes on this site.' ) ); 11 function ajax_user_can() { 12 return current_user_can('install_themes'); 14 13 } 15 14
Note: See TracChangeset
for help on using the changeset viewer.