WordPress.org

Make WordPress Core

Ticket #43287: 43287.2.diff

File 43287.2.diff, 1.1 KB (added by gb_jlm, 11 months ago)

Updated /wp-admin/includes/meta-boxes.php since the code has changed since the last patch was attached to this ticket.

  • wp-admin/includes/meta-boxes.php

    diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php
    index 97ca20a..f8589ed 100644
    a b if ( 0 != $post->ID ) { 
    187187                /* translators: Post date information. 1: Date on which the post was published */
    188188                $stamp = __('Published on: <b>%1$s</b>');
    189189        } elseif ( '0000-00-00 00:00:00' == $post->post_date_gmt ) { // draft, 1 or more saves, no date specified
    190                 $stamp = __('Publish <b>immediately</b>');
     190                $stamp = __('Publish: <b>Immediately</b>');
    191191        } elseif ( time() < strtotime( $post->post_date_gmt . ' +0000' ) ) { // draft, 1 or more saves, future date specified
    192192                /* translators: Post date information. 1: Date on which the post is to be published */
    193193                $stamp = __('Schedule for: <b>%1$s</b>');
    if ( 0 != $post->ID ) { 
    197197        }
    198198        $date = date_i18n( $datef, strtotime( $post->post_date ) );
    199199} else { // draft (no saves, and thus no date specified)
    200         $stamp = __('Publish <b>immediately</b>');
     200        $stamp = __('Publish: <b>Immediately</b>');
    201201        $date = date_i18n( $datef, strtotime( current_time('mysql') ) );
    202202}
    203203