Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#37695 closed defect (bug) (duplicate)

wp_is_ini_value_changeable should check if ini_get_all is not disabled function

Reported by: nerijus-eimanaviius's profile Nerijus Eimanaviius Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.6
Component: Bootstrap/Load Keywords:
Focuses: Cc:

Description

when ini_get_all function is disabled via disable_functions php.ini setting http://php.net/manual/en/ini.core.php#ini.disable-functions we get E_WARNING

Error message
E_WARNING: ini_get_all() has been disabled for security reasons

Stack trace
releases/20160817060343/web/foundation/wp-includes/
load.php (1020)
releases/20160817060343/web/foundation/wp-includes/
default-constants.php (46)
releases/20160817060343/web/foundation/
wp-settings.php (43)
releases/20160817060343/web/
wp-config.php (9)
releases/20160817060343/web/foundation/
wp-load.php (44)
releases/20160817060343/web/foundation/wp-admin/admin-ajax.php (22)

Change History (1)

#1 @SergeyBiryukov
9 years ago

  • Component changed from General to Bootstrap/Load
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi @nerijus-eimanaviius, welcome to Trac!

Thanks for the ticket, we're already tracking this issue in #37680.

Note: See TracTickets for help on using tickets.