Like the other commented said, this isn’t random, but also I’d add that your first ternary option, the ?, should be on the next line; it would make the alignment make more sense to you then, and it would make the block more legible.
Yeah, this article came across as if written by a complete beginner. They mention having their WordPress hacked, but failed to admit it was because they didn’t upgrade the install.
Like the other commented said, this isn’t random, but also I’d add that your first ternary option, the
?
, should be on the next line; it would make the alignment make more sense to you then, and it would make the block more legible.