WordPress.org

Make WordPress Core

Ticket #19578: 19578.patch

File 19578.patch, 2.2 KB (added by ramiy, 6 years ago)
  • wp-admin/edit-form-comment.php

     
    5656<?php
    5757// translators: Publish box date format, see http://php.net/date
    5858$datef = __( 'M j, Y @ G:i' );
    59 $stamp = __('Submitted on: <b>%1$s</b>');
     59$stamp = __('Submitted on: <strong>%1$s</strong>');
    6060$date = date_i18n( $datef, strtotime( $comment->comment_date ) );
    6161?>
    6262<span id="timestamp"><?php printf($stamp, $date); ?></span>&nbsp;<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" tabindex='4'><?php _e('Edit') ?></a>
  • wp-admin/includes/meta-boxes.php

     
    159159$datef = __( 'M j, Y @ G:i' );
    160160if ( 0 != $post->ID ) {
    161161        if ( 'future' == $post->post_status ) { // scheduled for publishing at a future date
    162                 $stamp = __('Scheduled for: <b>%1$s</b>');
     162                $stamp = __('Scheduled for: <strong>%1$s</strong>');
    163163        } else if ( 'publish' == $post->post_status || 'private' == $post->post_status ) { // already published
    164                 $stamp = __('Published on: <b>%1$s</b>');
     164                $stamp = __('Published on: <strong>%1$s</strong>');
    165165        } else if ( '0000-00-00 00:00:00' == $post->post_date_gmt ) { // draft, 1 or more saves, no date specified
    166                 $stamp = __('Publish <b>immediately</b>');
     166                $stamp = __('Publish <strong>immediately</strong>');
    167167        } else if ( time() < strtotime( $post->post_date_gmt . ' +0000' ) ) { // draft, 1 or more saves, future date specified
    168                 $stamp = __('Schedule for: <b>%1$s</b>');
     168                $stamp = __('Schedule for: <strong>%1$s</strong>');
    169169        } else { // draft, 1 or more saves, date specified
    170                 $stamp = __('Publish on: <b>%1$s</b>');
     170                $stamp = __('Publish on: <strong>%1$s</strong>');
    171171        }
    172172        $date = date_i18n( $datef, strtotime( $post->post_date ) );
    173173} else { // draft (no saves, and thus no date specified)
    174         $stamp = __('Publish <b>immediately</b>');
     174        $stamp = __('Publish <strong>immediately</strong>');
    175175        $date = date_i18n( $datef, strtotime( current_time('mysql') ) );
    176176}
    177177