Changeset 45377
- Timestamp:
- 05/22/2019 09:47:49 PM (6 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-query.php
r45285 r45377 4170 4170 * @since 4.4.0 Added the ability to pass a post ID to `$post`. 4171 4171 * 4172 * @global int 4173 * @global WP_User 4174 * @global string |int|bool$currentday4175 * @global string |int|bool$currentmonth4176 * @global int 4177 * @global array 4178 * @global int 4179 * @global int 4180 * @global int 4172 * @global int $id 4173 * @global WP_User $authordata 4174 * @global string $currentday 4175 * @global string $currentmonth 4176 * @global int $page 4177 * @global array $pages 4178 * @global int $multipage 4179 * @global int $more 4180 * @global int $numpages 4181 4181 * 4182 4182 * @param WP_Post|object|int $post WP_Post instance or Post ID/object. -
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.