phpinfo tab blank page
-
I’m getting a strange behavior. Hitting the phpinfo tab returns a blank page. Have already done the usual common-sense debug stuff (disabled all other plugins, default twentyseventeen theme, antivir off, etc.). Tested on a couple of chrome/firefox -based browsers, with latest WP 4.9.7 on localhost WAMP32/Win7-x64.
The pertinent plugin code looks straightforward:
health-check\includes\class-health-check.php
line 317:
'phpinfo' => esc_html__( 'PHP Information', 'health-check' ),
li 346:
case 'phpinfo': include_once( HEALTH_CHECK_PLUGIN_DIRECTORY . '/pages/phpinfo.php' ); break;
Interestingly, if I rename the ‘phpinfo’ tab param to say ‘phppage’ it start working, but whatever other near spellings of ‘phpinfo’: ‘php-info’, ‘phpinfo123’, etc. it doesn’t. I’m dumbfounded. It seems like a security kind of filter somewhere, but can’t figure out how it happens.
- The topic ‘phpinfo tab blank page’ is closed to new replies.