[wp-trac] [WordPress Trac] #11723: Search Results Paging Doesn't Work Using Wordpress as 404 Handler

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 5 14:33:35 UTC 2010


#11723: Search Results Paging Doesn't Work Using Wordpress as 404 Handler
-----------------------------------------+----------------------------------
 Reporter:  danrha                       |        Owner:            
     Type:  defect (bug)                 |       Status:  closed    
 Priority:  normal                       |    Milestone:  Unassigned
Component:  General                      |      Version:  2.9.1     
 Severity:  major                        |   Resolution:  fixed     
 Keywords:  search pages, 404, lighttpd  |  
-----------------------------------------+----------------------------------

Comment(by danrha):

 {{{
 function wp_fix_lighttpd() { //checks if URI has parameter and sets
 globals
         if (isset($_GET) && isset($_SERVER['QUERY_STRING'])) return;
         $donga = explode('?', $_SERVER['REQUEST_URI'], 2);
         if (count($donga) > 1) {
                 $_SERVER['QUERY_STRING'] = $donga[1];
                 parse_str($donga[1], $_GET);
                 $_REQUEST = array_merge( (array)$_GET, (array)$_REQUEST);
         }
 }
 }}}

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


More information about the wp-trac mailing list