mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 07:36:58 +00:00
Use wp_hash to create cron's check hash.
git-svn-id: https://develop.svn.wordpress.org/trunk@5274 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ ignore_user_abort(true);
|
||||
define('DOING_CRON', TRUE);
|
||||
require_once('wp-config.php');
|
||||
|
||||
if ( $_GET['check'] != md5(DB_PASS . '187425') )
|
||||
if ( $_GET['check'] != wp_hash('187425') )
|
||||
exit;
|
||||
|
||||
if ( get_option('doing_cron') > time() )
|
||||
|
||||
Reference in New Issue
Block a user