Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
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.
11if ( ! defined( 'THEMES_SYMLINK_BASE' ) || ! defined( 'THEMES_PATH_BASE' ) ) {
12    define( 'THEMES_SYMLINK_BASE', $current_dir );
13    define( 'THEMES_PATH_BASE', $current_dir );
14}
15
16define( 'WPCOMSH_PUB_THEMES_PATH', THEMES_PATH_BASE . '/pub' );
17define( 'WPCOMSH_PREMIUM_THEMES_PATH', THEMES_PATH_BASE . '/premium' );
18define( 'WPCOMSH_STOREFRONT_PATH', THEMES_PATH_BASE . '/storefront' );
19
20define( 'WPCOMSH_PUB_THEMES_SYMLINK', THEMES_SYMLINK_BASE . '/pub' );
21define( 'WPCOMSH_PREMIUM_THEMES_SYMLINK', THEMES_SYMLINK_BASE . '/premium' );
22define( 'WPCOMSH_STOREFRONT_SYMLINK', THEMES_SYMLINK_BASE . '/storefront' );
23
24define( 'WPCOMSH_PUB_THEME_TYPE', 'wpcom_pub_theme_type' );
25define( 'WPCOMSH_PREMIUM_THEME_TYPE', 'wpcom_premium_theme_type' );
26define( 'WPCOMSH_NON_WPCOM_THEME', 'non_wpcom_theme' );
27
28define( 'WPCOMSH__PLUGIN_DIR_PATH', WP_CONTENT_DIR . '/mu-plugins/wpcomsh' );
29define( 'WPCOMSH__PLUGIN_FILE', WPCOMSH__PLUGIN_DIR_PATH . '/wpcomsh.php' );
30
31// Enable Jetpack's Experimental blocks.
32define( 'JETPACK_BLOCKS_VARIATION', 'experimental' );
33
34// Date for lowering storage from 200 GB to 50 GB for business and higher plans. Ref: D108151-code.
35define( 'LEGACY_200GB_CUTOFF_DATE', '2023-07-20' );
36
37// Disable dupe comments for the MovableType Importer.
38define( 'WP_MT_IMPORT_ALLOW_DUPE_COMMENTS', false );