fix: resolve remaining PHPCS errors — array formatting and closing brace
Fix multi-item associative array on single line in class-psa-admin.php (line 273) and remove blank line before closing class brace in class-psa-ai-generator.php (line 540). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -270,7 +270,12 @@ class PSA_Admin {
|
|||||||
|
|
||||||
// Mark as pending so the generator picks it up, then schedule.
|
// Mark as pending so the generator picks it up, then schedule.
|
||||||
update_post_meta( $post_id, 'psa_source', 'pending' );
|
update_post_meta( $post_id, 'psa_source', 'pending' );
|
||||||
wp_update_post( array( 'ID' => $post_id, 'post_status' => 'draft' ) );
|
wp_update_post(
|
||||||
|
array(
|
||||||
|
'ID' => $post_id,
|
||||||
|
'post_status' => 'draft',
|
||||||
|
)
|
||||||
|
);
|
||||||
update_post_meta( $post_id, 'psa_generation_started', time() );
|
update_post_meta( $post_id, 'psa_generation_started', time() );
|
||||||
|
|
||||||
$args = array( $post_id, $post->post_title );
|
$args = array( $post_id, $post->post_title );
|
||||||
|
|||||||
@@ -536,5 +536,4 @@ Important:
|
|||||||
- For the "category" field, use EXACTLY one of the eight listed categories.
|
- For the "category" field, use EXACTLY one of the eight listed categories.
|
||||||
PROMPT;
|
PROMPT;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user