Changeset 16992 for trunk/wp-admin/includes/class-wp-posts-list-table.php
- Timestamp:
- 12/16/2010 09:18:28 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-posts-list-table.php
r16966 r16992 79 79 } 80 80 81 function check_permissions() {81 function ajax_user_can() { 82 82 global $post_type_object; 83 83 84 if ( !current_user_can( $post_type_object->cap->edit_posts ) ) 85 wp_die( __( 'Cheatin’ uh?' ) ); 84 return current_user_can( $post_type_object->cap->edit_posts ); 86 85 } 87 86
Note: See TracChangeset
for help on using the changeset viewer.