Commit abe0a29
committed
Coding Standards: Remove extra check in
This commit removes an unnecessary `is_wp_error()` check, as the `WP_Error` instance is created earlier in the method, and the only mutability is whether the instance actually `::has_errors()`.
Follow-up to [49109].
Props justlevine.
See #63268.
git-svn-id: https://develop.svn.wordpress.org/trunk@60310 602fd350-edb4-49c9-b593-d223f7449a82wp_authenticate_application_password().1 parent d2613da commit abe0a29
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
| 480 | + | |
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
| |||
0 commit comments