Make WordPress Core


Ignore:
Timestamp:
09/18/2020 10:35:41 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Update the URL for PHP date formats table in translator comments.

Props hareesh-pillai, iandunn.
Fixes #51332.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/meta-boxes.php

    r48594 r48991  
    213213
    214214        <?php
    215         /* translators: Publish box date string. 1: Date, 2: Time. See https://www.php.net/date */
     215        /* translators: Publish box date string. 1: Date, 2: Time. See https://www.php.net/manual/datetime.format.php */
    216216        $date_string = __( '%1$s at %2$s' );
    217         /* translators: Publish box date format, see https://www.php.net/date */
     217        /* translators: Publish box date format, see https://www.php.net/manual/datetime.format.php */
    218218        $date_format = _x( 'M j, Y', 'publish box date format' );
    219         /* translators: Publish box time format, see https://www.php.net/date */
     219        /* translators: Publish box time format, see https://www.php.net/manual/datetime.format.php */
    220220        $time_format = _x( 'H:i', 'publish box time format' );
    221221
     
    405405            <?php
    406406            $uploaded_on = sprintf(
    407                 /* translators: Publish box date string. 1: Date, 2: Time. See https://www.php.net/date */
     407                /* translators: Publish box date string. 1: Date, 2: Time. See https://www.php.net/manual/datetime.format.php */
    408408                __( '%1$s at %2$s' ),
    409                 /* translators: Publish box date format, see https://www.php.net/date */
     409                /* translators: Publish box date format, see https://www.php.net/manual/datetime.format.php */
    410410                date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $post->post_date ) ),
    411                 /* translators: Publish box time format, see https://www.php.net/date */
     411                /* translators: Publish box time format, see https://www.php.net/manual/datetime.format.php */
    412412                date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $post->post_date ) )
    413413            );
Note: See TracChangeset for help on using the changeset viewer.