Changeset 16303 for trunk/wp-includes/query.php
- Timestamp:
- 11/11/2010 04:22:18 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r16286 r16303 3189 3189 */ 3190 3190 function setup_postdata($post) { 3191 global $id, $authordata, $ day, $currentmonth, $page, $pages, $multipage, $more, $numpages;3191 global $id, $authordata, $currentday, $currentmonth, $page, $pages, $multipage, $more, $numpages; 3192 3192 3193 3193 $id = (int) $post->ID; … … 3195 3195 $authordata = get_userdata($post->post_author); 3196 3196 3197 $ day = mysql2date('d.m.y', $post->post_date, false);3197 $currentday = mysql2date('d.m.y', $post->post_date, false); 3198 3198 $currentmonth = mysql2date('m', $post->post_date, false); 3199 3199 $numpages = 1;
Note: See TracChangeset
for help on using the changeset viewer.