#28400 closed enhancement (invalid)
Making if blocks more clear in customize.php
Reported by: | BFTrick | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.4 |
Component: | Customize | Keywords: | |
Focuses: | Cc: |
Description
In customize.php
there are two separate if statements that check for opposite values right after one another. Instead of using two if statements we should use an if / else. It's far more clear.
Attachments (1)
Change History (4)
#1
@
10 years ago
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
In
customize.php
there are two separate if statements that check for opposite values right after one another.
That's not quite correct. The second statement also applies if wp_validate_redirect() returned an empty string.
Note: See
TracTickets for help on using
tickets.
customize.php diff