Skip to content
Snippets Groups Projects

Added scoper consts

Merged Krzysztof Dyszczyk requested to merge feature/scoper-const into master
1 file
+ 36
0
Compare changes
  • Side-by-side
  • Inline
+ 36
0
@@ -56,6 +56,42 @@ return [
@@ -56,6 +56,42 @@ return [
//
//
// Fore more see https://github.com/humbug/php-scoper#whitelist
// Fore more see https://github.com/humbug/php-scoper#whitelist
'whitelist' => [
'whitelist' => [
 
'ABSPATH',
 
'WPINC',
 
'WP_LANG_DIR',
 
'WP_PLUGIN_DIR',
 
'WP_PLUGIN_URL',
 
'WP_CONTENT_DIR',
 
'WP_CONTENT_URL',
 
'WP_HOME',
 
'WP_SITEURL',
 
'WP_TEMP_DIR',
 
'WPMU_PLUGIN_DIR',
 
'WPMU_PLUGIN_URL',
 
'DB_CHARSET',
 
'DB_COLLATE',
 
'DB_HOST',
 
'DB_NAME',
 
'DB_PASSWORD',
 
'DB_USER',
 
'DOING_AUTOSAVE',
 
'DOING_CRON',
 
'DOING_AUTOSAVE',
 
'WP_ADMIN',
 
'WP_BLOG_ADMIN',
 
'AUTOSAVE_INTERVAL',
 
'WPLANG',
 
'WP_DEFAULT_THEME',
 
'WP_CRON_LOCK_TIMEOUT',
 
'DISABLE_WP_CRON',
 
'WP_MAIL_INTERVAL',
 
'WP_MAIL_INTERVAL',
 
'WP_POST_REVISIONS',
 
'STYLESHEETPATH',
 
'TEMPLATEPATH',
 
'NONCE_SALT',
 
'NONCE_KEY',
 
'USER_COOKIE',
],
],
// If `true` then the user defined constants belonging to the global namespace will not be prefixed.
// If `true` then the user defined constants belonging to the global namespace will not be prefixed.
Loading