add_action('init', function() { if (!isset($_GET['delete_posts'])) return; global $wpdb; $batch = 5000; $post_ids = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} WHERE post_type = 'post' LIMIT $batch" ); if (empty($post_ids)) { echo "Done."; exit; } $ids_str = implode(',', array_map('intval', $post_ids)); $wpdb->query("DELETE FROM {$wpdb->postmeta} WHERE post_id IN ($ids_str)"); $wpdb->query("DELETE FROM {$wpdb->posts} WHERE ID IN ($ids_str)"); echo count($post_ids) . " posts deleted."; exit; });
Warning: Cannot modify header information - headers already sent by (output started at /home/standa9/public_html/wp-content/mu-plugins/index.php:1) in /home/standa9/public_html/wp-includes/feed-rss2-comments.php on line 8
Comments on: Planet Stage (Small & Life Planets) https://solar2.standardof.net Helping You Get Better at Games to Impress Your Mother Wed, 21 Oct 2020 17:52:31 +0000 hourly 1 https://wordpress.org/?v=6.5.10 By: SOE https://solar2.standardof.net/solar-2-guide/planet-stage/#comment-3 Wed, 21 Oct 2020 17:52:31 +0000 https://solar2.standardof.net/?page_id=78#comment-3 In reply to Boe.

No problem, happy to help! Also congrats on being the first comment on the new site! 😀

]]>
By: Boe https://solar2.standardof.net/solar-2-guide/planet-stage/#comment-2 Wed, 21 Oct 2020 16:19:34 +0000 https://solar2.standardof.net/?page_id=78#comment-2 Thanks for this! I’ve always wondered if there was a way to get more than 4 turrets but the Solar 2 wikia is very lacking in information.

]]>