[wp-trac] Re: [WordPress Trac] #3514: IIS fix for get_pagenum_link

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 9 19:06:29 GMT 2007


#3514: IIS fix for get_pagenum_link
---------------------------------------------------+------------------------
 Reporter:  snakefoot                              |        Owner:  anonymous
     Type:  defect                                 |       Status:  new      
 Priority:  high                                   |    Milestone:  2.0.7    
Component:  General                                |      Version:  2.0      
 Severity:  major                                  |   Resolution:           
 Keywords:  get_pagenum_link, iis, posts_nav_link  |  
---------------------------------------------------+------------------------
Comment (by snakefoot):

 Unless special updating of REQUEST_URI (if IIS) have been added to 2.1 or
 2.2, then it is most likely an issue for the trunk as well (As the
 get_pagenum_link() is the same in the trunk).

 Maybe one should consider creating a global function, which returns the
 expected URL independent of what PHP/IIS/Apache/Litestep version one is
 using, and then reuse the function all the locations where REQUEST_URI is
 used.

 Wordpress has different places which tries to handle the REQUEST_URI
 behavior on IIS, but each implementation is different.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3514#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list