[wp-trac] [WordPress Trac] #13753: get_page() breaking $post when it's called with empty parameter

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 7 20:53:20 UTC 2010


#13753: get_page() breaking $post when it's called with empty parameter
--------------------------+-------------------------------------------------
 Reporter:  shidouhikari  |       Owner:  westi    
     Type:  defect (bug)  |      Status:  accepted 
 Priority:  normal        |   Milestone:  3.0      
Component:  General       |     Version:  3.0      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------

Comment(by westi):

 We should also fix get_post through the code hilighted does stop on the
 variable passed in shouldn't get stomped like that in one path through the
 code - in fact does it even need to be a reference?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13753#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list