20 |
20 |
21 /**#@+ |
21 /**#@+ |
22 * Constants for expressing human-readable data sizes in their respective number of bytes. |
22 * Constants for expressing human-readable data sizes in their respective number of bytes. |
23 * |
23 * |
24 * @since 4.4.0 |
24 * @since 4.4.0 |
|
25 * @since 6.0.0 `PB_IN_BYTES`, `EB_IN_BYTES`, `ZB_IN_BYTES`, and `YB_IN_BYTES` were added. |
25 */ |
26 */ |
26 define( 'KB_IN_BYTES', 1024 ); |
27 define( 'KB_IN_BYTES', 1024 ); |
27 define( 'MB_IN_BYTES', 1024 * KB_IN_BYTES ); |
28 define( 'MB_IN_BYTES', 1024 * KB_IN_BYTES ); |
28 define( 'GB_IN_BYTES', 1024 * MB_IN_BYTES ); |
29 define( 'GB_IN_BYTES', 1024 * MB_IN_BYTES ); |
29 define( 'TB_IN_BYTES', 1024 * GB_IN_BYTES ); |
30 define( 'TB_IN_BYTES', 1024 * GB_IN_BYTES ); |
|
31 define( 'PB_IN_BYTES', 1024 * TB_IN_BYTES ); |
|
32 define( 'EB_IN_BYTES', 1024 * PB_IN_BYTES ); |
|
33 define( 'ZB_IN_BYTES', 1024 * EB_IN_BYTES ); |
|
34 define( 'YB_IN_BYTES', 1024 * ZB_IN_BYTES ); |
30 /**#@-*/ |
35 /**#@-*/ |
31 |
36 |
32 // Start of run timestamp. |
37 // Start of run timestamp. |
33 if ( ! defined( 'WP_START_TIMESTAMP' ) ) { |
38 if ( ! defined( 'WP_START_TIMESTAMP' ) ) { |
34 define( 'WP_START_TIMESTAMP', microtime( true ) ); |
39 define( 'WP_START_TIMESTAMP', microtime( true ) ); |
400 define( 'STYLESHEETPATH', get_stylesheet_directory() ); |
405 define( 'STYLESHEETPATH', get_stylesheet_directory() ); |
401 |
406 |
402 /** |
407 /** |
403 * Slug of the default theme for this installation. |
408 * Slug of the default theme for this installation. |
404 * Used as the default theme when installing new sites. |
409 * Used as the default theme when installing new sites. |
405 * It will be used as the fallback if the current theme doesn't exist. |
410 * It will be used as the fallback if the active theme doesn't exist. |
406 * |
411 * |
407 * @since 3.0.0 |
412 * @since 3.0.0 |
408 * |
413 * |
409 * @see WP_Theme::get_core_default_theme() |
414 * @see WP_Theme::get_core_default_theme() |
410 */ |
415 */ |
411 if ( ! defined( 'WP_DEFAULT_THEME' ) ) { |
416 if ( ! defined( 'WP_DEFAULT_THEME' ) ) { |
412 define( 'WP_DEFAULT_THEME', 'twentytwentyone' ); |
417 define( 'WP_DEFAULT_THEME', 'twentytwentytwo' ); |
413 } |
418 } |
414 |
419 |
415 } |
420 } |