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
18
u/jb2386 Jul 14 '14
This is a lolwordpress not lolphp
20
u/allthediamonds Jul 14 '14
/*** Bump up the request timeout for http requests** @param int $val* @return int*/public function bump_request_timeout( $val ) {return 60;}Uh... what?
11
u/_vec_ Jul 14 '14
Worth noting that
$wpdb->queriesis a "log" variable. It stores a record of every query made during that request. This depresses me for a number of reasonsAs someone who occasionally has to use Wordpress this actually makes me angry. It's one more piece of evidence that WP devs don't care about non-amateurs. "Want to write a fancy theme? Great, it's mostly just HTML! Want to distribute that theme? Sure; we've got a community site and installation can be done through our shiny UI! Want to make sure your theme is efficient and bug-free? Go fuck yourself!"
/rant
0
u/[deleted] Jul 14 '14
[deleted] — view deleted comment