Changeset 25393
- Timestamp:
- 09/12/2013 06:28:25 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/slashes.php
r25002 r25393 130 130 */ 131 131 function test_wp_insert_user() { 132 $id = wp_insert_user( array(132 $id = wp_insert_user( array( 133 133 'user_login' => 'slash_example_user_3', 134 134 'role' => 'subscriber', … … 139 139 'display_name' => $this->slash_7, 140 140 'description' => $this->slash_3, 141 )); 141 'user_pass' => '' 142 ) ); 142 143 $user = get_user_to_edit( $id ); 143 144 … … 148 149 $this->assertEquals( wp_unslash( $this->slash_3 ), $user->description ); 149 150 150 $id = wp_insert_user( array(151 $id = wp_insert_user( array( 151 152 'user_login' => 'slash_example_user_4', 152 153 'role' => 'subscriber', … … 157 158 'display_name' => $this->slash_2, 158 159 'description' => $this->slash_4, 159 )); 160 'user_pass' => '' 161 ) ); 160 162 $user = get_user_to_edit( $id ); 161 163
Note: See TracChangeset
for help on using the changeset viewer.