Changeset 11464
- Timestamp:
- 05/26/2009 11:57:01 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r11452 r11464 2386 2386 global $post; 2387 2387 $this->in_the_loop = true; 2388 2389 if ( $this->current_post == -1 ) // loop has just started 2390 do_action_ref_array('loop_start', array(&$this)); 2391 2388 2392 $post = $this->next_post(); 2389 2393 setup_postdata($post); 2390 2391 if ( $this->current_post == 0 ) // loop has just started2392 do_action_ref_array('loop_start', array(&$this));2393 2394 } 2394 2395 … … 2662 2663 global $id, $authordata, $day, $currentmonth, $page, $pages, $multipage, $more, $numpages; 2663 2664 2664 do_action_ref_array('the_post', array(&$post));2665 2666 2665 $id = (int) $post->ID; 2667 2666 … … 2690 2689 $multipage = 0; 2691 2690 } 2691 2692 do_action_ref_array('the_post', array(&$post)); 2693 2692 2694 return true; 2693 2695 }
Note: See TracChangeset
for help on using the changeset viewer.