Skip to content
Snippets Groups Projects
Commit 25a33c74 authored by potreb's avatar potreb
Browse files

Added scoper consts

parent 65efaf50
No related branches found
No related tags found
1 merge request!39Added scoper consts
......@@ -56,6 +56,42 @@ return [
//
// Fore more see https://github.com/humbug/php-scoper#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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment