Changeset 7410
- Timestamp:
- 03/20/2008 04:30:38 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-post-rows.php
r7404 r7410 41 41 case 'cb': 42 42 ?> 43 <th scope="row" class="check-column">< input type="checkbox" name="delete[]" value="<?php the_ID(); ?>" /></th>43 <th scope="row" class="check-column"><?php if ( current_user_can( 'edit_post', $post->ID ) ) { ?><input type="checkbox" name="delete[]" value="<?php the_ID(); ?>" /><?php } ?></th> 44 44 <?php 45 45 break; … … 73 73 case 'title': 74 74 ?> 75 <td><strong>< a class="row-title" href="post.php?action=edit&post=<?php the_ID(); ?>" title="<?php echo attribute_escape(sprintf(__('Edit "%s"'), $title)); ?>"><?php echo $title ?></a></strong>75 <td><strong><?php if ( current_user_can( 'edit_post', $post->ID ) ) { ?><a class="row-title" href="post.php?action=edit&post=<?php the_ID(); ?>" title="<?php echo attribute_escape(sprintf(__('Edit "%s"'), $title)); ?>"><?php echo $title ?></a><?php } else { echo $title; } ?></strong> 76 76 <?php if ( !empty($post->post_password) ) { _e(' — <strong>Protected</strong>'); } elseif ('private' == $post->post_status) { _e(' — <strong>Private</strong>'); } ?></td> 77 77 <?php
Note: See TracChangeset
for help on using the changeset viewer.