checkpoint: pre-audit baseline state
This commit is contained in:
@@ -539,7 +539,7 @@ class WP_Agentic_Writer_Conversation_Manager {
|
||||
|
||||
$sessions = $wpdb->get_results(
|
||||
$wpdb->prepare(
|
||||
"SELECT * FROM {$this->table_name} WHERE post_id = %d ORDER BY updated_at DESC",
|
||||
"SELECT *, JSON_LENGTH(messages) as message_count FROM {$this->table_name} WHERE post_id = %d ORDER BY updated_at DESC",
|
||||
$post_id
|
||||
),
|
||||
ARRAY_A
|
||||
|
||||
Reference in New Issue
Block a user