[wp-trac] [WordPress Trac] #29161: $pagenow variable not set in admin pages on Windows systems

WordPress Trac noreply at wordpress.org
Sun Jul 15 18:44:09 UTC 2018


#29161: $pagenow variable not set in admin pages on Windows systems
-------------------------------+------------------------------
 Reporter:  Craxic             |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Administration     |     Version:  3.9.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  administration
-------------------------------+------------------------------

Comment (by soulseekah):

 This sounds like a server configuration issue.

 `PHP_SELF` may indeed contain backslashes on Windows machines on certain
 servers (think very old Apache+mod_php or some old PHP-FPM version).

 Would be good to find out what server was being run. If this is a common
 configuration occurrence (probably not) `wp_fix_server_vars()` should be
 fixing the path in `PHP_SELF`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/29161#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list