WordPress.org

Make WordPress Core

Changeset 6624


Ignore:
Timestamp:
01/16/2008 09:02:18 AM (13 years ago)
Author:
ryan
Message:

Show post modification time. Needs style. Rough.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r6623 r6624  
    142142    echo "<a href='" . wp_nonce_url("post.php?action=delete&amp;post=$post_ID", 'delete-post_' . $post_ID) . "' onclick=\"if ( confirm('" . js_escape(sprintf( ('draft' == $post->post_status) ? __("You are about to delete this draft '%s'\n  'Cancel' to stop, 'OK' to delete.") : __("You are about to delete this post '%s'\n  'Cancel' to stop, 'OK' to delete."), $post->post_title )) . "') ) { return true;}return false;\">" . __('Delete post') . "</a>";
    143143?>
     144<?php if ($post_ID): ?>
     145<br />
     146<?php printf(__('Last edited on %1$s at %2$s'), mysql2date(get_option('date_format'), $post->post_modified), mysql2date(get_option('time_format'), $post->post_modified)); ?>
     147<?php endif; ?>
    144148</p>
    145 
    146149</div>
    147150
Note: See TracChangeset for help on using the changeset viewer.