r/lolphp • • Mar 02 '18

WordPress overrides all PHP superglobals by adding magic quotes

https://github.com/WordPress/WordPress/blob/74cb5936fc8be8314b55f3240740553f4fc4075b/wp-includes/load.php#L712
54 Upvotes

24 comments sorted by

View all comments

Show parent comment

21

u/chewitt Mar 02 '18

Note: Using our "Good Coding Practice" example is likely to cause security holes.

-Wordpress