Ticket #8111: template9710.diff
| File template9710.diff, 681 bytes (added by mrmist, 5 years ago) |
|---|
-
template.
old new 1242 1242 $post_owner = ( $current_user->ID == $post->post_author ? 'self' : 'other' ); 1243 1243 $edit_link = get_edit_post_link( $post->ID ); 1244 1244 $title = _draft_or_post_title(); 1245 if ( current_user_can( 'edit_others_posts' ) or $current_user->ID == $post->post_author ) { 1245 1246 ?> 1246 1247 <tr id='post-<?php echo $post->ID; ?>' class='<?php echo trim( $rowclass . ' author-' . $post_owner . ' status-' . $post->post_status ); ?> iedit' valign="top"> 1247 1248 <?php … … 1422 1423 ?> 1423 1424 </tr> 1424 1425 <?php 1426 } // Current user can edit others posts check 1425 1427 $post = $global_post; 1426 1428 } 1427 1429
