Changeset 6768 for trunk/wp-admin/edit-form-advanced.php
- Timestamp:
- 02/09/2008 08:40:00 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r6762 r6768 129 129 if ($post_ID): 130 130 131 if ( 'future' == $post->post_status ) 131 if ( 'future' == $post->post_status ) { 132 132 $time = __('Scheduled for:<br />%1$s at %2$s'); 133 else if ( 'publish' == $post->post_status ) 133 $date = $post->post_date; 134 } else if ( 'publish' == $post->post_status ) { 134 135 $time = __('Published on:<br />%1$s at %2$s'); 135 else 136 $date = $post->post_date; 137 } else { 136 138 $time = __('Saved on:<br />%1$s at %2$s'); 137 ?> 138 <p><?php printf($time, mysql2date(get_option('date_format'), $post->post_date), mysql2date(get_option('time_format'), $post->post_date)); ?> 139 $date = $post->post_modified; 140 } 141 142 ?> 143 <p><?php printf($time, mysql2date(get_option('date_format'), $date), mysql2date(get_option('time_format'), $date)); ?> 139 144 <?php endif; ?> 140 145 </div>
Note: See TracChangeset
for help on using the changeset viewer.