[wp-trac] [WordPress Trac] #39165: Add page to assist with debugging and support

WordPress Trac noreply at wordpress.org
Thu Sep 21 14:47:44 UTC 2017


#39165: Add page to assist with debugging and support
-------------------------+-----------------------
 Reporter:  jorbin       |       Owner:  Clorith
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  4.9
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+-----------------------

Comment (by birgire):

 I like the idea with {{{phpinfo()}}}, but some host providers and users,
 disable {{{phpinfo()}}} with {{{disable_functions}}} in {{{php.ini}}}.

 In that case{{{$phpinfo_raw}}} contains:

 {{{
 Warning: phpinfo() has been disabled for security reasons in ...

 }}}


 [attachment:39165.7.2.patch] handles:

 - if {{{phpinfo()}}} is disabled
 - if it's disabled, the phpinfo link in the header is removed
 - if it's disabled, then {{{/wp-admin/info.php?phpinfo}}} shows the notice
 "The phpinfo() function is disabled.".
 - extra index checks on {{{$styles[1][0]}} and {{{$phpinfo[1][0]}}}.

 ps: didn't noticed the last patch, so I didn't include it here.

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


More information about the wp-trac mailing list