mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-26 00:04:28 +00:00
Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -659,7 +659,7 @@ function wp_set_auth_cookie($user_id, $remember = false, $secure = '') {
|
||||
setcookie($auth_cookie_name, $auth_cookie, $expire, ADMIN_COOKIE_PATH, $cookie_domain, $secure);
|
||||
setcookie(LOGGED_IN_COOKIE, $logged_in_cookie, $expire, COOKIEPATH, $cookie_domain);
|
||||
if ( COOKIEPATH != SITECOOKIEPATH )
|
||||
setcookie(LOGGED_IN_COOKIE, $logged_in_cookie, $expire, SITECOOKIEPATH, $cookie_domain);
|
||||
setcookie(LOGGED_IN_COOKIE, $logged_in_cookie, $expire, SITECOOKIEPATH, $cookie_domain);
|
||||
}
|
||||
}
|
||||
endif;
|
||||
@@ -1446,7 +1446,7 @@ function wp_rand( $min = 0, $max = 0 ) {
|
||||
if ( $max != 0 )
|
||||
$value = $min + (($max - $min + 1) * ($value / (4294967295 + 1)));
|
||||
|
||||
return abs(intval($value));
|
||||
return abs(intval($value));
|
||||
}
|
||||
endif;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user