Admin page doesn't load in production environment
-
The settings page fails to load when DISALLOW_FILE_MODS is defined as true in wp-config.php.
DISALLOW_FILE_MODS is commonly set on production servers to limit direct file modification, but also affects the result of the call to
current_user_can('install_plugins')
, effectively making configuration of the plugin impossible on the live website. Is there a more appropriate capability that could be checked?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Admin page doesn't load in production environment’ is closed to new replies.