Ticket #50812: 50812.patch
File 50812.patch, 691 bytes (added by , 4 years ago) |
---|
-
wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
1291 1291 if ( false !== strpos( $password, '\\' ) ) { 1292 1292 return new WP_Error( 1293 1293 'rest_user_invalid_password', 1294 __( 'Passwords cannot contain the "\\" character.' ), 1294 sprintf( 1295 /* translators: %s: The '\' character. */ 1296 __( 'Passwords cannot contain the "%s" character.' ), 1297 '\\' 1298 ), 1295 1299 array( 'status' => 400 ) 1296 1300 ); 1297 1301 }