- Timestamp:
- 07/10/2016 12:50:21 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-themes-list-table.php
r37297 r38028 43 43 */ 44 44 public function ajax_user_can() { 45 // Do not check edit_theme_options here. A JAXcalls for available themes require switch_themes.45 // Do not check edit_theme_options here. Ajax calls for available themes require switch_themes. 46 46 return current_user_can( 'switch_themes' ); 47 47 }
Note: See TracChangeset
for help on using the changeset viewer.