Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 18 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
||
| 1 | <?php |
| 2 | /** |
| 3 | * Constants file. |
| 4 | * |
| 5 | * @package wpcomsh |
| 6 | */ |
| 7 | |
| 8 | $current_dir = __DIR__; |
| 9 | |
| 10 | // Base paths containing the location of WP.com and storefront themes, defined in Atomic. |
| 11 | if ( ! defined( 'THEMES_SYMLINK_BASE' ) || ! defined( 'THEMES_PATH_BASE' ) ) { |
| 12 | define( 'THEMES_SYMLINK_BASE', $current_dir ); |
| 13 | define( 'THEMES_PATH_BASE', $current_dir ); |
| 14 | } |
| 15 | |
| 16 | define( 'WPCOMSH_PUB_THEMES_PATH', THEMES_PATH_BASE . '/pub' ); |
| 17 | define( 'WPCOMSH_PREMIUM_THEMES_PATH', THEMES_PATH_BASE . '/premium' ); |
| 18 | define( 'WPCOMSH_STOREFRONT_PATH', THEMES_PATH_BASE . '/storefront' ); |
| 19 | |
| 20 | define( 'WPCOMSH_PUB_THEMES_SYMLINK', THEMES_SYMLINK_BASE . '/pub' ); |
| 21 | define( 'WPCOMSH_PREMIUM_THEMES_SYMLINK', THEMES_SYMLINK_BASE . '/premium' ); |
| 22 | define( 'WPCOMSH_STOREFRONT_SYMLINK', THEMES_SYMLINK_BASE . '/storefront' ); |
| 23 | |
| 24 | define( 'WPCOMSH_PUB_THEME_TYPE', 'wpcom_pub_theme_type' ); |
| 25 | define( 'WPCOMSH_PREMIUM_THEME_TYPE', 'wpcom_premium_theme_type' ); |
| 26 | define( 'WPCOMSH_NON_WPCOM_THEME', 'non_wpcom_theme' ); |
| 27 | |
| 28 | define( 'WPCOMSH__PLUGIN_DIR_PATH', WP_CONTENT_DIR . '/mu-plugins/wpcomsh' ); |
| 29 | define( 'WPCOMSH__PLUGIN_FILE', WPCOMSH__PLUGIN_DIR_PATH . '/wpcomsh.php' ); |
| 30 | |
| 31 | // Enable Jetpack's Experimental blocks. |
| 32 | define( 'JETPACK_BLOCKS_VARIATION', 'experimental' ); |
| 33 | |
| 34 | // Date for lowering storage from 200 GB to 50 GB for business and higher plans. Ref: D108151-code. |
| 35 | define( 'LEGACY_200GB_CUTOFF_DATE', '2023-07-20' ); |
| 36 | |
| 37 | // Disable dupe comments for the MovableType Importer. |
| 38 | define( 'WP_MT_IMPORT_ALLOW_DUPE_COMMENTS', false ); |