[wp-trac] [WordPress Trac] #26772: Permalinks settings page is blank as access to phpinfo() is denied

WordPress Trac noreply at wordpress.org
Sun Jan 5 10:39:26 UTC 2014


#26772: Permalinks settings page is blank as access to phpinfo() is denied
----------------------------+------------------------------
 Reporter:  harmr           |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+------------------------------

Comment (by dd32):

 Hmm.. I thought function_exists() was supposed to return false for
 functions listed in disable_functions..

 In testing it, that seems correct:
 {{{
 $ php
    -d disable_functions=phpinfo
    -r 'error_reporting( E_ALL ); var_dump( function_exists("phpinfo"),
 is_callable("phpinfo"), phpversion() );'

 bool(false)
 bool(true)
 string(6) "5.4.23"
 }}}

 it seems that the existing code is correct, but upon googling, it seems
 that others have had this issue where disable_functions & function_exists
 still returns true.

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


More information about the wp-trac mailing list