Changeset 45377 for trunk/src/wp-includes/general-template.php
- Timestamp:
- 05/22/2019 09:47:49 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r45340 r45377 2329 2329 * @since 0.71 2330 2330 * 2331 * @global string |int|bool $currentday2332 * @global string |int|bool $previousday2331 * @global string $currentday The day of the current post in the loop. 2332 * @global string $previousday The day of the previous post in the loop. 2333 2333 * 2334 2334 * @param string $d Optional. PHP date format defaults to the date_format option if not specified. … … 2676 2676 * @since 0.71 2677 2677 * 2678 * @global WP_Locale $wp_locale 2678 * @global WP_Locale $wp_locale The WordPress date and time locale object. 2679 2679 */ 2680 2680 function the_weekday() { 2681 2681 global $wp_locale; 2682 2682 2683 $the_weekday = $wp_locale->get_weekday( mysql2date( 'w', get_post()->post_date, false ) ); 2683 2684 … … 2700 2701 * @since 0.71 2701 2702 * 2702 * @global WP_Locale $wp_locale2703 * @global string |int|bool $currentday2704 * @global string |int|bool $previousweekday2705 * 2706 * @param string $before Optional Output before the date.2707 * @param string $after OptionalOutput after the date.2703 * @global WP_Locale $wp_locale The WordPress date and time locale object. 2704 * @global string $currentday The day of the current post in the loop. 2705 * @global string $previousweekday The day of the previous post in the loop. 2706 * 2707 * @param string $before Optional. Output before the date. 2708 * @param string $after Optional. Output after the date. 2708 2709 */ 2709 2710 function the_weekday_date( $before = '', $after = '' ) { … … 2722 2723 * @since 0.71 2723 2724 * 2724 * @param string $the_weekday_date 2725 * @param string $the_weekday_date The weekday on which the post was written. 2725 2726 * @param string $before The HTML to output before the date. 2726 2727 * @param string $after The HTML to output after the date.
Note: See TracChangeset
for help on using the changeset viewer.