WordPress.org

Make WordPress Core

Ticket #3183: 3183.diff

File 3183.diff, 1.6 KB (added by Nazgul, 12 years ago)
  • wp-admin/admin-functions.php

     
    784784      <?php if ('private' == $post->post_status) _e(' - <strong>Private</strong>'); ?>
    785785    </td>
    786786    <td><?php the_author() ?></td>
    787     <td><?php echo mysql2date('Y-m-d g:i a', $post->post_modified); ?></td>
     787    <td><?php echo mysql2date(get_option('date_format').' '.get_option('time_format'), $post->post_modified); ?></td>
    788788        <td><a href="<?php the_permalink(); ?>" rel="permalink" class="edit"><?php _e('View'); ?></a></td>
    789789    <td><?php if ( current_user_can('edit_page', $id) ) { echo "<a href='page.php?action=edit&amp;post=$id' class='edit'>" . __('Edit') . "</a>"; } ?></td>
    790790    <td><?php if ( current_user_can('delete_page', $id) ) { echo "<a href='" . wp_nonce_url("page.php?action=delete&amp;post=$id", 'delete-page_' . $id) .  "' class='delete' onclick=\"return deleteSomething( 'page', " . $id . ", '" . sprintf(__("You are about to delete the &quot;%s&quot; page.\\n&quot;OK&quot; to delete, &quot;Cancel&quot; to stop."), js_escape(get_the_title()) ) . "' );\">" . __('Delete') . "</a>"; } ?></td>
  • wp-admin/edit.php

     
    175175
    176176        case 'date':
    177177                ?>
    178                 <td><?php the_time('Y-m-d \<\b\r \/\> g:i:s a'); ?></td>
     178                <td><?php the_time(get_option('date_format').'\<\b\r \/\>'.get_option('time_format')); ?></td>
    179179                <?php
    180180                break;
    181181        case 'title':