Changeset 47088
- Timestamp:
- 01/20/2020 03:12:12 AM (5 years ago)
- Location:
- trunk/src
- Files:
-
- 29 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/comment.php
r46084 r47088 208 208 /* translators: 1: Comment date, 2: Comment time. */ 209 209 __( '%1$s at %2$s' ), 210 /* translators: Comment date format. See https:// secure.php.net/date */210 /* translators: Comment date format. See https://www.php.net/date */ 211 211 get_comment_date( __( 'Y/m/d' ), $comment ), 212 /* translators: Comment time format. See https:// secure.php.net/date */212 /* translators: Comment time format. See https://www.php.net/date */ 213 213 get_comment_date( __( 'g:i a' ), $comment ) 214 214 ); -
trunk/src/wp-admin/edit-form-advanced.php
r46083 r47088 170 170 /* translators: Publish box date string. 1: Date, 2: Time. */ 171 171 __( '%1$s at %2$s' ), 172 /* translators: Publish box date format, see https:// secure.php.net/date */172 /* translators: Publish box date format, see https://www.php.net/date */ 173 173 date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $post->post_date ) ), 174 /* translators: Publish box time format, see https:// secure.php.net/date */174 /* translators: Publish box time format, see https://www.php.net/date */ 175 175 date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $post->post_date ) ) 176 176 ); -
trunk/src/wp-admin/edit-form-comment.php
r46823 r47088 107 107 /* translators: 1: Comment date, 2: Comment time. */ 108 108 __( '%1$s at %2$s' ), 109 /* translators: Publish box date format, see https:// secure.php.net/date */109 /* translators: Publish box date format, see https://www.php.net/date */ 110 110 date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $comment->comment_date ) ), 111 /* translators: Publish box time format, see https:// secure.php.net/date */111 /* translators: Publish box time format, see https://www.php.net/date */ 112 112 date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $comment->comment_date ) ) 113 113 ); -
trunk/src/wp-admin/includes/ajax-actions.php
r46421 r47088 2198 2198 $time = ''; 2199 2199 } else { 2200 /* translators: Date format in table columns, see https:// secure.php.net/date */2200 /* translators: Date format in table columns, see https://www.php.net/date */ 2201 2201 $time = mysql2date( __( 'Y/m/d' ), $post->post_date ); 2202 2202 } -
trunk/src/wp-admin/includes/class-wp-comments-list-table.php
r47059 r47088 873 873 /* translators: 1: Comment date, 2: Comment time. */ 874 874 __( '%1$s at %2$s' ), 875 /* translators: Comment date format. See https:// secure.php.net/date */875 /* translators: Comment date format. See https://www.php.net/date */ 876 876 get_comment_date( __( 'Y/m/d' ), $comment ), 877 /* translators: Comment time format. See https:// secure.php.net/date */877 /* translators: Comment time format. See https://www.php.net/date */ 878 878 get_comment_date( __( 'g:i a' ), $comment ) 879 879 ); -
trunk/src/wp-admin/includes/class-wp-community-events.php
r47060 r47088 376 376 * are available, without having to open the link. 377 377 */ 378 /* translators: Date format for upcoming events on the dashboard. Include the day of the week. See https:// secure.php.net/date */378 /* translators: Date format for upcoming events on the dashboard. Include the day of the week. See https://www.php.net/date */ 379 379 $response_body['events'][ $key ]['formatted_date'] = date_i18n( __( 'l, M j, Y' ), $timestamp ); 380 380 $response_body['events'][ $key ]['formatted_time'] = date_i18n( get_option( 'time_format' ), $timestamp ); -
trunk/src/wp-admin/includes/class-wp-filesystem-base.php
r46679 r47088 320 320 * From the PHP documentation page for fileperms(). 321 321 * 322 * @link https:// secure.php.net/manual/en/function.fileperms.php322 * @link https://www.php.net/manual/en/function.fileperms.php 323 323 * 324 324 * @since 2.5.0 … … 388 388 * From "info at rvgate dot nl"'s comment on the PHP documentation for chmod() 389 389 * 390 * @link https:// secure.php.net/manual/en/function.chmod.php#49614390 * @link https://www.php.net/manual/en/function.chmod.php#49614 391 391 * 392 392 * @since 2.5.0 -
trunk/src/wp-admin/includes/dashboard.php
r47084 r47088 951 951 $relative = __( 'Tomorrow' ); 952 952 } elseif ( gmdate( 'Y', $time ) !== $year ) { 953 /* translators: Date and time format for recent posts on the dashboard, from a different calendar year, see https:// secure.php.net/date */953 /* translators: Date and time format for recent posts on the dashboard, from a different calendar year, see https://www.php.net/date */ 954 954 $relative = date_i18n( __( 'M jS Y' ), $time ); 955 955 } else { 956 /* translators: Date and time format for recent posts on the dashboard, see https:// secure.php.net/date */956 /* translators: Date and time format for recent posts on the dashboard, see https://www.php.net/date */ 957 957 $relative = date_i18n( __( 'M jS' ), $time ); 958 958 } -
trunk/src/wp-admin/includes/meta-boxes.php
r46685 r47088 195 195 196 196 <?php 197 /* translators: Publish box date string. 1: Date, 2: Time. See https:// secure.php.net/date */197 /* translators: Publish box date string. 1: Date, 2: Time. See https://www.php.net/date */ 198 198 $date_string = __( '%1$s at %2$s' ); 199 /* translators: Publish box date format, see https:// secure.php.net/date */199 /* translators: Publish box date format, see https://www.php.net/date */ 200 200 $date_format = _x( 'M j, Y', 'publish box date format' ); 201 /* translators: Publish box time format, see https:// secure.php.net/date */201 /* translators: Publish box time format, see https://www.php.net/date */ 202 202 $time_format = _x( 'H:i', 'publish box time format' ); 203 203 … … 383 383 <?php 384 384 $uploaded_on = sprintf( 385 /* translators: Publish box date string. 1: Date, 2: Time. See https:// secure.php.net/date */385 /* translators: Publish box date string. 1: Date, 2: Time. See https://www.php.net/date */ 386 386 __( '%1$s at %2$s' ), 387 /* translators: Publish box date format, see https:// secure.php.net/date */387 /* translators: Publish box date format, see https://www.php.net/date */ 388 388 date_i18n( _x( 'M j, Y', 'publish box date format' ), strtotime( $post->post_date ) ), 389 /* translators: Publish box time format, see https:// secure.php.net/date */389 /* translators: Publish box time format, see https://www.php.net/date */ 390 390 date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $post->post_date ) ) 391 391 ); -
trunk/src/wp-admin/includes/misc.php
r47005 r47088 1196 1196 ); 1197 1197 } else { 1198 /* translators: Draft saved date format, see https:// secure.php.net/date */1198 /* translators: Draft saved date format, see https://www.php.net/date */ 1199 1199 $draft_saved_date_format = __( 'g:i:s a' ); 1200 1200 $response['wp_autosave'] = array( -
trunk/src/wp-admin/includes/schema.php
r46194 r47088 395 395 /* 396 396 * translators: default GMT offset or timezone string. Must be either a valid offset (-12 to 14) 397 * or a valid timezone string (America/New_York). See https:// secure.php.net/manual/en/timezones.php397 * or a valid timezone string (America/New_York). See https://www.php.net/manual/en/timezones.php 398 398 * for all timezone strings supported by PHP. 399 399 */ … … 430 430 'default_pingback_flag' => 1, 431 431 'posts_per_page' => 10, 432 /* translators: Default date format, see https:// secure.php.net/date */432 /* translators: Default date format, see https://www.php.net/date */ 433 433 'date_format' => __( 'F j, Y' ), 434 /* translators: Default time format, see https:// secure.php.net/date */434 /* translators: Default time format, see https://www.php.net/date */ 435 435 'time_format' => __( 'g:i a' ), 436 /* translators: Links last updated date format, see https:// secure.php.net/date */436 /* translators: Links last updated date format, see https://www.php.net/date */ 437 437 'links_updated_date_format' => __( 'F j, Y g:i a' ), 438 438 'comment_moderation' => 0, -
trunk/src/wp-admin/options-general.php
r47073 r47088 19 19 $title = __( 'General Settings' ); 20 20 $parent_file = 'options-general.php'; 21 /* translators: Date and time format for exact current time, mainly about timezones, see https:// secure.php.net/date */21 /* translators: Date and time format for exact current time, mainly about timezones, see https://www.php.net/date */ 22 22 $timezone_format = _x( 'Y-m-d H:i:s', 'timezone date format' ); 23 23 -
trunk/src/wp-content/themes/twentytwenty/footer.php
r46849 r47088 22 22 <?php 23 23 echo date_i18n( 24 /* translators: Copyright date format, see https:// secure.php.net/date */24 /* translators: Copyright date format, see https://www.php.net/date */ 25 25 _x( 'Y', 'copyright date format', 'twentytwenty' ) 26 26 ); -
trunk/src/wp-includes/class-wp-hook.php
r46801 r47088 391 391 * @since 4.7.0 392 392 * 393 * @link https:// secure.php.net/manual/en/arrayaccess.offsetexists.php393 * @link https://www.php.net/manual/en/arrayaccess.offsetexists.php 394 394 * 395 395 * @param mixed $offset An offset to check for. … … 405 405 * @since 4.7.0 406 406 * 407 * @link https:// secure.php.net/manual/en/arrayaccess.offsetget.php407 * @link https://www.php.net/manual/en/arrayaccess.offsetget.php 408 408 * 409 409 * @param mixed $offset The offset to retrieve. … … 419 419 * @since 4.7.0 420 420 * 421 * @link https:// secure.php.net/manual/en/arrayaccess.offsetset.php421 * @link https://www.php.net/manual/en/arrayaccess.offsetset.php 422 422 * 423 423 * @param mixed $offset The offset to assign the value to. … … 437 437 * @since 4.7.0 438 438 * 439 * @link https:// secure.php.net/manual/en/arrayaccess.offsetunset.php439 * @link https://www.php.net/manual/en/arrayaccess.offsetunset.php 440 440 * 441 441 * @param mixed $offset The offset to unset. … … 450 450 * @since 4.7.0 451 451 * 452 * @link https:// secure.php.net/manual/en/iterator.current.php452 * @link https://www.php.net/manual/en/iterator.current.php 453 453 * 454 454 * @return array Of callbacks at current priority. … … 463 463 * @since 4.7.0 464 464 * 465 * @link https:// secure.php.net/manual/en/iterator.next.php465 * @link https://www.php.net/manual/en/iterator.next.php 466 466 * 467 467 * @return array Of callbacks at next priority. … … 476 476 * @since 4.7.0 477 477 * 478 * @link https:// secure.php.net/manual/en/iterator.key.php478 * @link https://www.php.net/manual/en/iterator.key.php 479 479 * 480 480 * @return mixed Returns current priority on success, or NULL on failure … … 489 489 * @since 4.7.0 490 490 * 491 * @link https:// secure.php.net/manual/en/iterator.valid.php491 * @link https://www.php.net/manual/en/iterator.valid.php 492 492 * 493 493 * @return boolean … … 502 502 * @since 4.7.0 503 503 * 504 * @link https:// secure.php.net/manual/en/iterator.rewind.php504 * @link https://www.php.net/manual/en/iterator.rewind.php 505 505 */ 506 506 public function rewind() { -
trunk/src/wp-includes/class-wp-http-encoding.php
r46596 r47088 93 93 * @since 2.8.1 94 94 * @link https://core.trac.wordpress.org/ticket/18273 95 * @link https:// secure.php.net/manual/en/function.gzinflate.php#7087596 * @link https:// secure.php.net/manual/en/function.gzinflate.php#7733695 * @link https://www.php.net/manual/en/function.gzinflate.php#70875 96 * @link https://www.php.net/manual/en/function.gzinflate.php#77336 97 97 * 98 98 * @param string $gzData String to decompress. -
trunk/src/wp-includes/class-wp-locale.php
r46214 r47088 195 195 196 196 // Numbers formatting 197 // See https:// secure.php.net/number_format198 199 /* translators: $thousands_sep argument for https:// secure.php.net/number_format, default is ',' */197 // See https://www.php.net/number_format 198 199 /* translators: $thousands_sep argument for https://www.php.net/number_format, default is ',' */ 200 200 $thousands_sep = __( 'number_format_thousands_sep' ); 201 201 … … 205 205 $this->number_format['thousands_sep'] = ( 'number_format_thousands_sep' === $thousands_sep ) ? ',' : $thousands_sep; 206 206 207 /* translators: $dec_point argument for https:// secure.php.net/number_format, default is '.' */207 /* translators: $dec_point argument for https://www.php.net/number_format, default is '.' */ 208 208 $decimal_point = __( 'number_format_decimal_point' ); 209 209 … … 360 360 */ 361 361 public function _strings_for_pot() { 362 /* translators: Localized date format, see https:// secure.php.net/date */362 /* translators: Localized date format, see https://www.php.net/date */ 363 363 __( 'F j, Y' ); 364 /* translators: Localized time format, see https:// secure.php.net/date */364 /* translators: Localized time format, see https://www.php.net/date */ 365 365 __( 'g:i a' ); 366 /* translators: Localized date and time format, see https:// secure.php.net/date */366 /* translators: Localized date and time format, see https://www.php.net/date */ 367 367 __( 'F j, Y g:i a' ); 368 368 } -
trunk/src/wp-includes/cron.php
r47068 r47088 385 385 * Warning: This function may return Boolean FALSE, but may also return a non-Boolean 386 386 * value which evaluates to FALSE. For information about casting to booleans see the 387 * {@link https:// php.net/manual/en/language.types.boolean.php PHP documentation}. Use387 * {@link https://www.php.net/manual/en/language.types.boolean.php PHP documentation}. Use 388 388 * the `===` operator for testing the return value of this function. 389 389 * … … 455 455 * Warning: This function may return Boolean FALSE, but may also return a non-Boolean 456 456 * value which evaluates to FALSE. For information about casting to booleans see the 457 * {@link https:// php.net/manual/en/language.types.boolean.php PHP documentation}. Use457 * {@link https://www.php.net/manual/en/language.types.boolean.php PHP documentation}. Use 458 458 * the `===` operator for testing the return value of this function. 459 459 * … … 734 734 * Warning: This function may return Boolean FALSE, but may also return a non-Boolean 735 735 * value which evaluates to FALSE. For information about casting to booleans see the 736 * {@link https:// php.net/manual/en/language.types.boolean.php PHP documentation}. Use736 * {@link https://www.php.net/manual/en/language.types.boolean.php PHP documentation}. Use 737 737 * the `===` operator for testing the return value of this function. 738 738 * -
trunk/src/wp-includes/default-constants.php
r46278 r47088 127 127 * YEAR_IN_SECONDS does not take leap years into account. 128 128 * 129 * If you need more accuracy please consider using the DateTime class (https:// secure.php.net/manual/en/class.datetime.php).129 * If you need more accuracy please consider using the DateTime class (https://www.php.net/manual/en/class.datetime.php). 130 130 * 131 131 * @since 3.5.0 -
trunk/src/wp-includes/deprecated.php
r47060 r47088 2829 2829 * @see error_log() 2830 2830 * 2831 * @link https:// secure.php.net/manual/en/function.error-log.php2831 * @link https://www.php.net/manual/en/function.error-log.php 2832 2832 * 2833 2833 * @param string $filename File name. … … 2847 2847 * @see error_log() 2848 2848 * 2849 * @link https:// secure.php.net/manual/en/function.error-log.php2849 * @link https://www.php.net/manual/en/function.error-log.php 2850 2850 * 2851 2851 * @param mixed $fp Unused. … … 2865 2865 * @see error_log() 2866 2866 * 2867 * @link https:// secure.php.net/manual/en/function.error-log.php2867 * @link https://www.php.net/manual/en/function.error-log.php 2868 2868 * 2869 2869 * @param mixed $fp Unused. -
trunk/src/wp-includes/formatting.php
r46958 r47088 2708 2708 * 2709 2709 * Slashes will first be removed if magic_quotes_gpc is set, see {@link 2710 * https:// secure.php.net/magic_quotes} for more details.2710 * https://www.php.net/magic_quotes} for more details. 2711 2711 * 2712 2712 * @since 0.71 … … 4398 4398 * Convert entities, while preserving already-encoded entities. 4399 4399 * 4400 * @link https:// secure.php.net/htmlentities Borrowed from the PHP Manual user notes.4400 * @link https://www.php.net/htmlentities Borrowed from the PHP Manual user notes. 4401 4401 * 4402 4402 * @since 1.2.2 … … 4937 4937 * by adding it to the function signature. 4938 4938 * 4939 * @link https:// secure.php.net/sprintf4939 * @link https://www.php.net/sprintf 4940 4940 * 4941 4941 * @param string $pattern The string which formatted args are inserted. -
trunk/src/wp-includes/functions.php
r47078 r47088 978 978 * 979 979 * @see _http_build_query() Used to build the query 980 * @link https:// secure.php.net/manual/en/function.http-build-query.php for more on what980 * @link https://www.php.net/manual/en/function.http-build-query.php for more on what 981 981 * http_build_query() does. 982 982 * … … 994 994 * @access private 995 995 * 996 * @see https:// secure.php.net/manual/en/function.http-build-query.php996 * @see https://www.php.net/manual/en/function.http-build-query.php 997 997 * 998 998 * @param array|object $data An array or object of data. Converted to array. … … 6386 6386 * @since 3.5.0 6387 6387 * 6388 * @link https:// secure.php.net/manual/en/function.checkdate.php6388 * @link https://www.php.net/manual/en/function.checkdate.php 6389 6389 * 6390 6390 * @param int $month Month number. -
trunk/src/wp-includes/http.php
r47060 r47088 661 661 * @since 4.7.0 The `$component` parameter was added for parity with PHP's `parse_url()`. 662 662 * 663 * @link https:// secure.php.net/manual/en/function.parse-url.php663 * @link https://www.php.net/manual/en/function.parse-url.php 664 664 * 665 665 * @param string $url The URL to parse. … … 708 708 * @access private 709 709 * 710 * @link https:// secure.php.net/manual/en/function.parse-url.php710 * @link https://www.php.net/manual/en/function.parse-url.php 711 711 * 712 712 * @param array|false $url_parts The parsed URL. Can be false if the URL failed to parse. … … 740 740 * @access private 741 741 * 742 * @link https:// secure.php.net/manual/en/url.constants.php742 * @link https://www.php.net/manual/en/url.constants.php 743 743 * 744 744 * @param int $constant PHP_URL_* constant. -
trunk/src/wp-includes/load.php
r47018 r47088 1281 1281 * @since 4.6.0 Moved from media.php to load.php. 1282 1282 * 1283 * @link https:// secure.php.net/manual/en/function.ini-get.php1284 * @link https:// secure.php.net/manual/en/faq.using.php#faq.using.shorthandbytes1283 * @link https://www.php.net/manual/en/function.ini-get.php 1284 * @link https://www.php.net/manual/en/faq.using.php#faq.using.shorthandbytes 1285 1285 * 1286 1286 * @param string $value A (PHP ini) byte value, either shorthand or ordinary. … … 1310 1310 * @staticvar array $ini_all 1311 1311 * 1312 * @link https:// secure.php.net/manual/en/function.ini-get-all.php1312 * @link https://www.php.net/manual/en/function.ini-get-all.php 1313 1313 * 1314 1314 * @param string $setting The name of the ini setting to check. -
trunk/src/wp-includes/plugin.php
r46805 r47088 9 9 * 10 10 * Any of the syntaxes explained in the PHP documentation for the 11 * {@link https:// secure.php.net/manual/en/language.pseudo-types.php#language.types.callback 'callback'}11 * {@link https://www.php.net/manual/en/language.pseudo-types.php#language.types.callback 'callback'} 12 12 * type are valid. 13 13 * -
trunk/src/wp-includes/post-template.php
r47060 r47088 1814 1814 } 1815 1815 1816 /* translators: Revision date format, see https:// secure.php.net/date */1816 /* translators: Revision date format, see https://www.php.net/date */ 1817 1817 $datef = _x( 'F j, Y @ H:i:s', 'revision date format' ); 1818 1818 /* translators: %s: Revision date. */ … … 1856 1856 1857 1857 $author = get_the_author_meta( 'display_name', $revision->post_author ); 1858 /* translators: Revision date format, see https:// secure.php.net/date */1858 /* translators: Revision date format, see https://www.php.net/date */ 1859 1859 $datef = _x( 'F j, Y @ H:i:s', 'revision date format' ); 1860 1860 -
trunk/src/wp-includes/rest-api/class-wp-rest-request.php
r46803 r47088 25 25 * @since 4.4.0 26 26 * 27 * @link https:// secure.php.net/manual/en/class.arrayaccess.php27 * @link https://www.php.net/manual/en/class.arrayaccess.php 28 28 */ 29 29 class WP_REST_Request implements ArrayAccess { -
trunk/src/wp-includes/script-loader.php
r47048 r47088 391 391 ), 392 392 'formats' => array( 393 /* translators: Time format, see https:// secure.php.net/date */393 /* translators: Time format, see https://www.php.net/date */ 394 394 'time' => get_option( 'time_format', __( 'g:i a' ) ), 395 /* translators: Date format, see https:// secure.php.net/date */395 /* translators: Date format, see https://www.php.net/date */ 396 396 'date' => get_option( 'date_format', __( 'F j, Y' ) ), 397 /* translators: Date/Time format, see https:// secure.php.net/date */397 /* translators: Date/Time format, see https://www.php.net/date */ 398 398 'datetime' => __( 'F j, Y g:i a' ), 399 /* translators: Abbreviated date/time format, see https:// secure.php.net/date */399 /* translators: Abbreviated date/time format, see https://www.php.net/date */ 400 400 'datetimeAbbreviated' => __( 'M j, Y g:i a' ), 401 401 ), -
trunk/src/wp-includes/theme.php
r46821 r47088 907 907 * 908 908 * If the modification name does not exist, then the $default will be passed 909 * through {@link https:// secure.php.net/sprintf sprintf()} PHP function with909 * through {@link https://www.php.net/sprintf sprintf()} PHP function with 910 910 * the template directory URI as the first string and the stylesheet directory URI 911 911 * as the second string. -
trunk/src/wp-includes/wp-db.php
r47060 r47088 1284 1284 * $wpdb->prepare( "SELECT DATE_FORMAT(`field`, '%%c') FROM `table` WHERE `column` = %s", 'foo' ); 1285 1285 * 1286 * @link https:// secure.php.net/sprintf Description of syntax.1286 * @link https://www.php.net/sprintf Description of syntax. 1287 1287 * @since 2.3.0 1288 1288 * @since 5.3.0 Formalized the existing and already documented `...$args` parameter
Note: See TracChangeset
for help on using the changeset viewer.