Changeset 55988 for trunk/src/wp-includes/cron.php
- Timestamp:
- 06/22/2023 02:34:56 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/cron.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/cron.php
r55641 r55988 975 975 function _wp_cron() { 976 976 // Prevent infinite loops caused by lack of wp-cron.php. 977 if ( str pos( $_SERVER['REQUEST_URI'], '/wp-cron.php' ) !== false|| ( defined( 'DISABLE_WP_CRON' ) && DISABLE_WP_CRON ) ) {977 if ( str_contains( $_SERVER['REQUEST_URI'], '/wp-cron.php' ) || ( defined( 'DISABLE_WP_CRON' ) && DISABLE_WP_CRON ) ) { 978 978 return 0; 979 979 }
Note: See TracChangeset
for help on using the changeset viewer.