this post was submitted on 07 Nov 2023
7 points (100.0% liked)

WordPress Security

13 readers
1 users here now

Discussion about WordPress security without all the falsehoods.

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] 314xel 4 points 1 year ago* (last edited 1 year ago)

The bigger sin is the use of "Yoda style" order of "if" statements with the value before the variable. I don't get the "protecting from myself" thinking, it's atrocious to read. He even went with the "==="' operator, hard to miss two equal signs for it to become an assignment, so why bother?