Changeset 3636 for trunk/wp-includes/cron.php
- Timestamp:
- 03/08/2006 05:51:42 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/cron.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/cron.php
r3635 r3636 50 50 51 51 function wp_clear_scheduled_hook($hook) { 52 while($timestamp = next_scheduled($hook))52 while($timestamp = wp_next_scheduled($hook)) 53 53 wp_unschedule_event($timestamp, $hook); 54 54 } … … 73 73 $argyle = @ fsockopen($parts['host'], $_SERVER['SERVER_PORT'], $errno, $errstr, 0.01); 74 74 if ( $argyle ) 75 fputs($argyle, "GET {$parts['path']}?time=" . time() . '&check=' 76 . md5(DB_PASS . '187425') . " HTTP/1.0\r\nHost: {$_SERVER['HTTP_HOST']}\r\n\r\n"); 75 fputs($argyle, 76 "GET {$parts['path']}?check=" . md5(DB_PASS . '187425') . " HTTP/1.0\r\n" 77 . "Host: {$_SERVER['HTTP_HOST']}\r\n\r\n" 78 ); 77 79 } 78 80
Note: See TracChangeset
for help on using the changeset viewer.