/home/altere25/.trash/wp-to-sanity-companion.1
NameSizeModeActions
assets/-0755rm
includes/-0755rm
templates/-0755rm
assets\css\admin.css76110644editdlrm
assets\js\admin.js85340644editdlrm
assets\js\claude-connect.js65020644editdlrm
includes\class-ad-admin.php263740644editdlrm
includes\class-ad-ai-client.php81530644editdlrm
includes\class-ad-auth.php91890644editdlrm
includes\class-ad-cli.php86690644editdlrm
includes\class-ad-extractor.php122100644editdlrm
includes\class-ad-mcp.php64290644editdlrm
includes\class-ad-plugin-core.php79470644editdlrm
includes\class-ad-progress.php80220644editdlrm
includes\class-ad-rest.php310080644editdlrm
includes\class-ad-uninstall.php19240644editdlrm
includes\class-ad-webhook.php148540644editdlrm
templates\admin\claude-connect.php51520644editdlrm
templates\admin\dashboard.php104570644editdlrm
templates\admin\export.php165700644editdlrm
templates\admin\log.php108490644editdlrm
templates\admin\onboarding-v2.php38270644editdlrm
templates\admin\onboarding.php107140644editdlrm
templates\admin\progress.php24430644editdlrm
templates\admin\schema-preview.php52130644editdlrm
uninstall.php3650644editdlrm
wp-to-sanity-companion.php44670644editdlrm
Edit: /home/altere25/.trash/wp-to-sanity-companion.1/templates\admin\log.php (10849B)
prefix . 'ad_migration_log'; $log_ids = array_map('intval', $_POST['log_ids']); switch ($_POST['bulk_action']) { case 'delete': $placeholders = implode(',', array_fill(0, count($log_ids), '%d')); $wpdb->query($wpdb->prepare("DELETE FROM {$log_table} WHERE id IN ($placeholders)", ...$log_ids)); echo '

' . esc_html__('Selected logs deleted.', 'wp-to-sanity') . '

'; break; case 'retry': // v2: re-trigger the webhook for each failed post by marking it // pending so the next publish/edit re-fires. The v1 queue table // no longer exists; queueing lives on the Worker Durable Object. $placeholders = implode(',', array_fill(0, count($log_ids), '%d')); $wpdb->query($wpdb->prepare( "UPDATE {$log_table} SET status = 'pending', error_message = NULL WHERE id IN ($placeholders)", ...$log_ids )); echo '

' . esc_html__('Selected logs reset to pending. Re-publish the posts to re-trigger migration.', 'wp-to-sanity') . '

'; break; } } // Filter handling $filter_status = $_GET['status'] ?? 'all'; $filter_post_type = $_GET['post_type'] ?? 'all'; $search = $_GET['s'] ?? ''; $where_clauses = ['1=1']; if ($filter_status !== 'all') { $where_clauses[] = $wpdb->prepare('status = %s', $filter_status); } if ($search) { $where_clauses[] = $wpdb->prepare('(post_id = %d OR sanity_id LIKE %s)', intval($search), '%' . $wpdb->esc_like($search) . '%'); } $where = implode(' AND ', $where_clauses); ?>


# ... 50) : ?> ...
add_query_arg('paged', '%#%'), 'format' => '', 'prev_text' => __('«'), 'next_text' => __('»'), 'total' => $total_pages, 'current' => $paged, ]); ?>