Ticket #16302 (closed defect (bug): fixed)
Don't shout booleans
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.4 |
| Component: | Warnings/Notices | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch 3.2-early |
| Cc: | chris@… |
Description
In a number of places in core WP or external libraries we shout our booleans as TRUE and FALSE instead of true and false.
We shouldn't in core WP.
No patch because search and replace can fixor this.
Attachments
Change History
Looks good.
Most of the external libraries should be avoided here. That includes class-ftp*.php and pclzip.php. kses is fine just because that's no longer really an external library in practice and should follow our standards.
Would also like to see NULL ucase'd in another patch.
I went through and lowercased all of the null values I came across. I ignored everything that looked like an external library and I did not touch any SQL. Please see 16302.null.diff
Note: See
TracTickets for help on using
tickets.


also NULL vs null.