Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #60003, comment 2


Ignore:
Timestamp:
12/04/2023 06:26:33 PM (10 months ago)
Author:
argaliano15
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #60003, comment 2

    v1 v2  
    33It 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.
    44
    5 I expect to get banned from this forum now, which is good, it will save me from wasting my time in the future.
    6 
    75PROFESSIONAL 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.
    86
     7I expect to get banned from this forum now, which is good, it will keep me from wasting my time in the future.
    98
    109Replying to [ticket:60003 argaliano15]: