Changeset 4491
- Timestamp:
- 11/19/2006 07:24:55 AM (19 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
-
admin-functions.php (modified) (1 diff)
-
edit.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-functions.php
r4481 r4491 780 780 </td> 781 781 <td><?php the_author() ?></td> 782 <td><?php echo mysql2date( 'Y-m-d g:i a', $post->post_modified ); ?></td>782 <td><?php if ( '0000-00-00 00:00:00' ==$post->post_modified ) _e('Unpublished'); else echo mysql2date( 'Y-m-d g:i a', $post->post_modified ); ?></td> 783 783 <td><a href="<?php the_permalink(); ?>" rel="permalink" class="edit"><?php _e( 'View' ); ?></a></td> 784 784 <td><?php if ( current_user_can( 'edit_page', $id ) ) { echo "<a href='page.php?action=edit&post=$id' class='edit'>" . __( 'Edit' ) . "</a>"; } ?></td> -
trunk/wp-admin/edit.php
r4480 r4491 178 178 case 'date': 179 179 ?> 180 <td><?php the_time('Y-m-d \<\b\r \/\> g:i:s a'); ?></td>180 <td><?php if ( '0000-00-00 00:00:00' ==$post->post_modified ) _e('Unpublished'); else the_time('Y-m-d \<\b\r \/\> g:i:s a'); ?></td> 181 181 <?php 182 182 break;
Note: See TracChangeset
for help on using the changeset viewer.