#28400 closed enhancement (invalid)
Making if blocks more clear in customize.php
| Reported by: | BFTrick | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Customize | Version: | 3.4 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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
@
12 years ago
- Milestone Awaiting Review
- Resolution → invalid
- Status new → closed
In
customize.phpthere 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
customize.php diff