WordPress.org

Make WordPress Core

Changeset 5274


Ignore:
Timestamp:
04/16/07 20:47:23 (8 years ago)
Author:
ryan
Message:

Use wp_hash to create cron's check hash.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-cron.php

    r4509 r5274  
    44require_once('wp-config.php'); 
    55 
    6 if ( $_GET['check'] != md5(DB_PASS . '187425') ) 
     6if ( $_GET['check'] != wp_hash('187425') ) 
    77    exit; 
    88 
  • trunk/wp-includes/cron.php

    r4984 r5274  
    9898    if ( $argyle ) 
    9999        fputs( $argyle, 
    100               "GET {$parts['path']}?check=" . md5(DB_PASS . '187425') . " HTTP/1.0\r\n" 
     100              "GET {$parts['path']}?check=" . wp_hash('187425') . " HTTP/1.0\r\n" 
    101101            . "Host: {$_SERVER['HTTP_HOST']}\r\n\r\n" 
    102102        ); 
Note: See TracChangeset for help on using the changeset viewer.