[wp-trac] [WordPress Trac] #11871: $pagenow is wrong in frontend processing (always set to "index.php")

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 12 18:08:56 UTC 2010

#11871: $pagenow is wrong in frontend processing (always set to "index.php")
 Reporter:  codestyling   |       Owner:                         
     Type:  defect (bug)  |      Status:  new                    
 Priority:  high          |   Milestone:  2.9.2                  
Component:  Template      |     Version:  2.9.1                  
 Severity:  critical      |    Keywords:  template pagenow defect

Comment(by nacin):

 Changing how this works will affect backward compatibility. There are
 other ways to hook into what you'd like to do, so I suggest we close this
 as worksforme.

 If there isn't another way to do what you'd like to do (aside from using
 the template_redirect hook to rewrite the template-loader.php file to your
 liking), then this ticket should be closed as a duplicate of #11242,
 unless I'm reading this incorrectly.

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

More information about the wp-trac mailing list