Commit 7da6cd1
committed
Code Quality: Simplify user permission check for importing new users.
This removes a redundant conditional in the `check_import_new_users()` function, simplifying its logic to directly return the result of the permission check.
Follow-up to [https://mu.trac.wordpress.org/changeset/1829 mu:1829], [39945].
Props Soean.
See #64238.
git-svn-id: https://develop.svn.wordpress.org/trunk@62086 602fd350-edb4-49c9-b593-d223f7449a821 parent 0710e06 commit 7da6cd1
1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
617 | | - | |
618 | | - | |
619 | | - | |
620 | | - | |
621 | | - | |
| 617 | + | |
622 | 618 | | |
623 | 619 | | |
624 | 620 | | |
| |||
0 commit comments