[wp-trac] [WordPress Trac] #4354: $user_ID not declared global in load_template()

WordPress Trac wp-trac at lists.automattic.com
Mon May 28 21:31:51 GMT 2007


#4354: $user_ID not declared global in load_template()
----------------------------+-----------------------------------------------
 Reporter:  markjaquith     |       Owner:  markjaquith
     Type:  defect          |      Status:  new        
 Priority:  normal          |   Milestone:  2.3        
Component:  Administration  |     Version:  2.2        
 Severity:  normal          |    Keywords:  $user_id   
----------------------------+-----------------------------------------------
 {{{$user_ID}}} is not declared global in {{{load_template()}}}, so the
 variable is not accessible without manually declaring the variable global
 (which is really confusing to  a lot of people with even moderate PHP
 knowledge).

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4354>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list