Changes between Initial Version and Version 1 of Ticket #60003, comment 2
- Timestamp:
- 12/04/2023 06:24:44 PM (12 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #60003, comment 2
initial v1 2 2 3 3 It does not matter where the null comes from, it only matters that it snuck through. You can either try to stop an unknown number of shooters over which you have no control, or protect the target. This is simple logic. Every instance of preg_match now needs to be checked against a null input, every one in the entire WP codebase! This will be a very serious problem. 4 5 I expect to get banned from this forum now, which is good, it will save me from wasting my time in the future. 4 6 5 7 PROFESSIONAL programmers would call this 'code hardening', and also 'proactive', 'responsible' and 'doing their job'. And the official WordPress response to my warning - nitpick, and blame the messenger. This is why I rarely bother reporting bugs in WordPress, I just hack them myself. I guess I'll just add this one to my list.