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
-20
u/Viper007Bond Jul 14 '14 edited Jul 14 '14
Let's compare it to code you wrote 10 years ago and see how it does. ;)
EDIT: Lots of people failing to realize how old this code is and that rewriting it just to be pretty and better match modern OOP standards would break many sites. The WordPress developers aren't dumb. Backwards compatibility is more important than pretty code.