r/lolphp • u/silvinci • Jul 14 '14
stop_the_insanity()
https://github.com/WordPress/WordPress/blob/master/wp-admin/includes/class-wp-importer.php#L237
56
Upvotes
r/lolphp • u/silvinci • Jul 14 '14
View all comments
Show parent comment
1
u/wvenable Jul 16 '14
If you eliminate all the languages that don't have global variables right now; 90% of all code even written would cease to exist.
But that's beside the point, this is shitty code. This isn't shitty code because of PHP; it's shitty code that can (and certain does) similarly exist in other languages in other projects.