#16302 closed defect (bug) (fixed)
Don't shout booleans
Reported by: | westi | Owned by: | westi |
---|---|---|---|
Milestone: | 3.4 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | Warnings/Notices | Keywords: | has-patch 3.2-early |
Focuses: | Cc: |
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 (2)
Change History (10)
#4
@
14 years ago
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.
Note: See
TracTickets for help on using
tickets.
also NULL vs null.