[wp-trac] [WordPress Trac] #63445: Replace value casting with ! empty() check for positive value validation
WordPress Trac
noreply at wordpress.org
Wed May 14 13:30:01 UTC 2025
#63445: Replace value casting with ! empty() check for positive value validation
-----------------------------------------+-------------------------------
Reporter: dilipbheda | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Comments | Version:
Severity: normal | Resolution: wontfix
Keywords: has-patch changes-requested | Focuses: coding-standards
-----------------------------------------+-------------------------------
Changes (by johnbillion):
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
This sort of trivial tweak in't a good use of anybody's time unless it
fixes an actual bug. There's more info about this policy here:
https://make.wordpress.org/core/handbook/contribute/code-refactoring/.
Thanks for the contribution, but time is best spent on real bugs and
enhancements.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63445#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list