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/rest-api/class-wp-rest-server.php on line 1831
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/rest-api/class-wp-rest-server.php on line 1831
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/rest-api/class-wp-rest-server.php on line 1831
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/rest-api/class-wp-rest-server.php on line 1831
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/rest-api/class-wp-rest-server.php on line 1831
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/rest-api/class-wp-rest-server.php on line 1831
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/rest-api/class-wp-rest-server.php on line 1831
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/rest-api/class-wp-rest-server.php on line 1831
{"id":172,"date":"2020-10-31T14:30:29","date_gmt":"2020-10-31T18:30:29","guid":{"rendered":"https:\/\/supcom.standardof.net\/?page_id=172"},"modified":"2020-10-31T14:40:16","modified_gmt":"2020-10-31T18:40:16","slug":"uef-operation-forge","status":"publish","type":"page","link":"https:\/\/supcom.standardof.net\/fr\/supreme-commander\/campaign-walkthroughs\/uef-operation-forge\/","title":{"rendered":"Mission UEF 5 - Op\u00e9ration Forge"},"content":{"rendered":"
Malheureusement, avec le d\u00e9but de l'op\u00e9ration Forge, nous apprenons que les informations recueillies lors de votre op\u00e9ration pr\u00e9c\u00e9dente n'\u00e9taient pas suffisantes pour r\u00e9soudre le probl\u00e8me avec les portes quantiques. L'UEF devra d\u00e9ployer la super arme Black Sun si elle veut survivre et pour ce faire, vous devrez superviser la d\u00e9fense d'une autre installation importante pendant que les derni\u00e8res ressources sont transf\u00e9r\u00e9es \u00e0 Sol.<\/p>\n\n\n\n