[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 10:45:05 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 dd32):
> At this point of time you will always get "index.php" at $pagenow so
this could also be hard coded there!
No.
index.php is the entry point for all "Pretty-Permalink" accesses.
Access it via {{{wp-feed.php}}} and it should be set to that.
$pagenow refers to the file that the access started with, Not the themes
template file or something else..
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11871#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list