- Timestamp:
- 04/12/2021 08:21:57 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/events/1.0/index.php
r10557 r10885 46 46 47 47 // The test suite just needs the functions defined and doesn't want any headers or output 48 if ( 49 ( defined( 'RUNNING_TESTS' ) && RUNNING_TESTS ) || 50 ( defined( 'WPORG_RUNNING_TESTS' ) && WPORG_RUNNING_TESTS ) 51 ) { 48 if ( defined( 'WPORG_RUNNING_TESTS' ) && WPORG_RUNNING_TESTS ) { 52 49 disable_caching(); 53 50 return; … … 114 111 require_once $base_dir . '/includes/wp-json-encode.php'; 115 112 116 if ( 117 ( ! defined( 'RUNNING_TESTS' ) || ! RUNNING_TESTS ) || 118 ( ! defined( 'WPORG_RUNNING_TESTS' ) || ! WPORG_RUNNING_TESTS ) 119 ) { 113 if ( ! defined( 'WPORG_RUNNING_TESTS' ) || ! WPORG_RUNNING_TESTS ) { 120 114 require_once $base_dir . '/includes/object-cache.php'; 121 115 }
Note: See TracChangeset
for help on using the changeset viewer.