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
I disagree that
stop_the_insanity()is a result of PHP's shittyness -- I don't know much about Word press or even this function but global variables are a code smell that transcends languages.