forked from WordPress/wordpress-develop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap.php
More file actions
97 lines (85 loc) · 2.88 KB
/
bootstrap.php
File metadata and controls
97 lines (85 loc) · 2.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?php
/**
* Defines default WordPress constants for PHPStan discovery.
*
* Mocks the constant initiation that would normally happen in wp-includes/wp-settings.php.
*
* Loaded as a `bootstrapFile` by PHPStan; see `base.neon`.
*/
// wp_initial_constants()
define( 'KB_IN_BYTES', 1024 );
define( 'MB_IN_BYTES', 1024 * KB_IN_BYTES );
define( 'GB_IN_BYTES', 1024 * MB_IN_BYTES );
define( 'TB_IN_BYTES', 1024 * GB_IN_BYTES );
define( 'PB_IN_BYTES', 1024 * TB_IN_BYTES );
define( 'EB_IN_BYTES', 1024 * PB_IN_BYTES );
define( 'ZB_IN_BYTES', 1024 * EB_IN_BYTES );
define( 'YB_IN_BYTES', 1024 * ZB_IN_BYTES );
define( 'WP_START_TIMESTAMP', microtime( true ) );
define( 'WP_MEMORY_LIMIT', '' );
define( 'WP_MAX_MEMORY_LIMIT', '' );
define( 'WP_DEVELOPMENT_MODE', '' );
define( 'WP_DEBUG', false );
define( 'WP_DEBUG_DISPLAY', false );
define( 'WP_DEBUG_LOG', false );
define( 'WP_CACHE', false );
define( 'SCRIPT_DEBUG', false );
define( 'MEDIA_TRASH', false );
define( 'SHORTINIT', false );
define( 'WP_FEATURE_BETTER_PASSWORDS', true );
define( 'MINUTE_IN_SECONDS', 60 );
define( 'HOUR_IN_SECONDS', 60 * MINUTE_IN_SECONDS );
define( 'DAY_IN_SECONDS', 24 * HOUR_IN_SECONDS );
define( 'WEEK_IN_SECONDS', 7 * DAY_IN_SECONDS );
define( 'MONTH_IN_SECONDS', 30 * DAY_IN_SECONDS );
define( 'YEAR_IN_SECONDS', 365 * DAY_IN_SECONDS );
// wp_set_lang_dir()
define( 'WP_LANG_DIR', '' );
// wp_plugin_directory_constants()
define( 'WP_CONTENT_URL', '' );
define( 'WP_PLUGIN_DIR', '' );
define( 'WP_PLUGIN_URL', '' );
define( 'PLUGINDIR', '' );
define( 'WPMU_PLUGIN_DIR', '' );
define( 'WPMU_PLUGIN_URL', '' );
define( 'MUPLUGINDIR', '' );
// ms_cookie_constants()
define( 'COOKIEPATH', '' );
define( 'SITECOOKIEPATH', '' );
define( 'ADMIN_COOKIE_PATH', '' );
define( 'COOKIE_DOMAIN', '' );
// wp_cookie_constants()
define( 'COOKIEHASH', '' );
define( 'USER_COOKIE', '' );
define( 'PASS_COOKIE', '' );
define( 'AUTH_COOKIE', '' );
define( 'SECURE_AUTH_COOKIE', '' );
define( 'LOGGED_IN_COOKIE', '' );
define( 'TEST_COOKIE', '' );
define( 'PLUGINS_COOKIE_PATH', '' );
define( 'RECOVERY_MODE_COOKIE', '' );
// wp_ssl_constants()
define( 'FORCE_SSL_LOGIN', false );
define( 'FORCE_SSL_ADMIN', false );
// wp_functionality_constants()
define( 'AUTOSAVE_INTERVAL', MINUTE_IN_SECONDS );
define( 'EMPTY_TRASH_DAYS', 1 );
define( 'WP_POST_REVISIONS', true );
define( 'WP_CRON_LOCK_TIMEOUT', MINUTE_IN_SECONDS );
// wp_templating_constants()
define( 'TEMPLATEPATH', '' );
define( 'STYLESHEETPATH', '' );
define( 'WP_DEFAULT_THEME', '' );
// ms_file_constants()
define( 'WPMU_SENDFILE', false );
define( 'WPMU_ACCEL_REDIRECT', false );
// ms_load_current_site_and_network()
define( 'NOBLOGREDIRECT', '' );
// ms_upload_constants()
define( 'UPLOADBLOGSDIR', '' );
define( 'BLOGUPLOADDIR', '' );
// Misc constants not part of the default lifecycle.
define( 'FS_CONNECT_TIMEOUT', 1 );
define( 'FS_TIMEOUT', 1 );
define( 'FS_CHMOD_DIR', 1 );
define( 'FS_CHMOD_FILE', 1 );