Changeset 14585 for trunk/wp-includes/link-template.php
- Timestamp:
- 05/12/2010 08:45:18 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r14490 r14585 794 794 return; 795 795 796 if ( !current_user_can( $post_type_object-> edit_cap, $post->ID ) )796 if ( !current_user_can( $post_type_object->cap->edit_post, $post->ID ) ) 797 797 return; 798 798 … … 847 847 return; 848 848 849 if ( !current_user_can( $post_type_object-> delete_cap, $post->ID ) )849 if ( !current_user_can( $post_type_object->cap->delete_post, $post->ID ) ) 850 850 return; 851 851
Note: See TracChangeset
for help on using the changeset viewer.