Changeset 29620
- Timestamp:
- 08/26/2014 07:38:51 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/pluggable.php
r29462 r29620 1708 1708 } 1709 1709 1710 if ( empty( $nonce ) ) { 1711 return false; 1712 } 1713 1710 1714 $token = wp_get_session_token(); 1711 1715 $i = wp_nonce_tick(); -
trunk/tests/phpunit/tests/auth.php
r25709 r29620 92 92 $this->assertTrue( wp_check_password( 'pass with vertial tab o_O', wp_hash_password( $password ) ) ); 93 93 } 94 95 /** 96 * @ticket 29217 97 */ 98 function test_wp_verify_nonce_with_empty_arg() { 99 $this->assertFalse( wp_verify_nonce( '' ) ); 100 $this->assertFalse( wp_verify_nonce( null ) ); 101 } 94 102 }
Note: See TracChangeset
for help on using the changeset viewer.