[wp-trac] Re: [WordPress Trac] #2858: Problem with wp_get_referer()

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 24 16:24:52 GMT 2006


#2858: Problem with wp_get_referer()
----------------------------+-----------------------------------------------
 Reporter:  tereshchenko    |        Owner:  anonymous
     Type:  defect          |       Status:  new      
 Priority:  normal          |    Milestone:  2.0.4    
Component:  Administration  |      Version:           
 Severity:  normal          |   Resolution:           
 Keywords:                  |  
----------------------------+-----------------------------------------------
Comment (by tereshchenko):

 O.K., after reading the purpose of wp_get_referer() it seems to me that
 there is some mix up - when received by script:
 _wp_http_referer will contain the referer to the page that made the
 request, not the referer to the script itself
 _wp_original_http_referer - will containt the referer to the script
 itself, not the original referer to the requesting page

 So probably _wp_http_referer and _wp_original_http_referer should be
 swapped or renamed (to avoid future confusion).

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


More information about the wp-trac mailing list