[wp-trac] [WordPress Trac] #7361: Fixes for wp-app with PHP-CGI

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 1 23:39:35 UTC 2009


#7361: Fixes for wp-app with PHP-CGI
----------------------------------------+-----------------------------------
 Reporter:  yonosoytu                   |        Owner:  anonymous
     Type:  defect (bug)                |       Status:  reopened 
 Priority:  normal                      |    Milestone:  2.9      
Component:  AtomPub                     |      Version:  2.8      
 Severity:  normal                      |   Resolution:           
 Keywords:  has-patch needs-unit-tests  |  
----------------------------------------+-----------------------------------

Comment(by tenpura):

 It seems
 {{{
 if('cgi' == substr(strtolower(php_sapi_name()), 0, 3))
 }}}
 is insufficient to be a solid identifier.

 References:
 [[BR]]
 http://drupal.org/node/175855
 [[BR]]
 http://core.trac.wordpress.org/ticket/3528

 How about using a constant to let user decide applying the code?
 [[BR]]
 2.9 still needs a remedy for this issue.

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


More information about the wp-trac mailing list