Changeset 7251 for trunk/wp-admin/edit-attachment-rows.php
- Timestamp:
- 03/11/2008 09:09:07 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-attachment-rows.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-attachment-rows.php
r7218 r7251 94 94 break; 95 95 96 case 'comments': 97 ?> 98 <td style="text-align: center"> 99 <?php 100 $left = get_pending_comments_num( $post->ID ); 101 $pending_phrase = sprintf( __('%s pending'), number_format( $left ) ); 102 if ( $left ) 103 echo '<strong>'; 104 comments_number("<a href='upload.php?attachment_id=$id' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('0') . '</span></a>', "<a href='upload.php?attachment_id=$id' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('1') . '</span></a>', "<a href='upload.php?attachment_id=$id' title='$pending_phrase' class='post-com-count'><span class='comment-count'>" . __('%') . '</span></a>'); 105 if ( $left ) 106 echo '</strong>'; 107 ?> 108 </td> 109 <?php 110 break; 111 96 112 case 'location': 97 113 ?>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)