File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 77
77
error_reporting (E_ALL ^ E_DEPRECATED );
78
78
/** Define appropriate location for default tmp directory on Pantheon */
79
79
define ('WP_TEMP_DIR ' , $ _SERVER ['HOME ' ] .'/tmp ' );
80
- /** Disable wp-cron.php from running on every page load and rely on Pantheon to run cron via wp-cli */
81
- define ('DISABLE_WP_CRON ' , true );
82
80
83
81
// FS writes aren't permitted in test or live, so we should let WordPress know to
84
82
// disable relevant UI.
114
112
if ( ! defined ('FORCE_SSL_ADMIN ' ) ) {
115
113
define ( 'FORCE_SSL_ADMIN ' , true );
116
114
}
115
+
116
+ /**
117
+ * Defaults you may override
118
+ *
119
+ * To override, define your constant in your wp-config.php before wp-config-pantheon.php is required.
120
+ */
121
+
122
+ /** Disable wp-cron.php from running on every page load and rely on Pantheon to run cron via wp-cli */
123
+ if ( ! defined ( 'DISABLE_WP_CRON ' ) ) {
124
+ define ( 'DISABLE_WP_CRON ' , true );
125
+ }
You can’t perform that action at this time.
0 commit comments