Ticket #59384: 59384.patch
File 59384.patch, 503 bytes (added by , 22 months ago) |
---|
-
src/wp-includes/pluggable.php
2373 2373 * @param string|int $action Scalar value to add context to the nonce. 2374 2374 * @return string The token. 2375 2375 */ 2376 function wp_create_nonce( $action = -1) {2376 function wp_create_nonce( $action ) { 2377 2377 $user = wp_get_current_user(); 2378 2378 $uid = (int) $user->ID; 2379 2379 if ( ! $uid ) {