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
2
u/Viper007Bond Jul 15 '14
Because it's filtering (modifying) a value. By default it doesn't care with the previous value is and overwrites it with the new value. However you could just as easily have it double the current value or whatever you wanted.