Changes between Initial Version and Version 1 of Ticket #16847, comment 11
- Timestamp:
- 01/26/13 16:59:04 (5 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16847, comment 11
initial v1 3 3 its pointed out above, but worth repeating with current links -- 4 4 5 edit.php checks current_user_can( $post_type_object->cap->edit_posts ) - [http://core.trac.wordpress.org/browser/trunk/wp-admin/edit.php#L21 At line 21]5 edit.php checks `current_user_can( $post_type_object->cap->edit_posts )` - [http://core.trac.wordpress.org/browser/tags/3.5.1/wp-admin/edit.php#L21 At line 21] 6 6 7 revisions.php checks if ( !current_user_can( 'read_post', $revision->ID ) || !current_user_can( 'read_post', $post->ID ) ) [http://core.trac.wordpress.org/browser/trunk/wp-admin/revision.php#L111 At Line 111]7 revisions.php checks `if ( !current_user_can( 'read_post', $revision->ID ) || !current_user_can( 'read_post', $post->ID ) )` [http://core.trac.wordpress.org/browser/tags/3.5.1/wp-admin/revision.php#L111 At Line 111] 8 8 9 9 the difference in the check apparently lead to the (difficult to reproduce) bug in this ticket.