Make WordPress Core


Ignore:
Timestamp:
09/01/2009 09:15:20 PM (15 years ago)
Author:
westi
Message:

Better feedback on publishing of future posts and pages. Fixes #10711 based on patch from scribu.

File:
1 edited

Legend:

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

    r11815 r11897  
    2828$messages[7] = __('Post saved.');
    2929$messages[8] = sprintf(__('Post submitted. <a href="%s">Preview post</a>'), add_query_arg( 'preview', 'true', get_permalink($post_ID) ) );
     30// translators: Publish box date formt, see http://php.net/date - Same as in meta-boxes.php
     31$messages[9] = sprintf(__('Post scheduled for: <b>%1$s</b>. <a href="%2$s">Preview post</a>'), date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), get_permalink($post_ID));
    3032
    3133if ( isset($_GET['revision']) )
Note: See TracChangeset for help on using the changeset viewer.