WordPress for homework 5.1

I have id'd some 'if' logic and a guard class within a few of the php files in WP.