fix: fall back to placeholder art when a cover attachment is gone

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
chrnxandClaude Opus 5 committed 2026-08-15 15:34:37 -05:00
1 parent 77dc2ee33b
commit 6f418f1a51
9 files changed
+80 -23

No files matched your search

+2 -2
View File
@@ -205,9 +205,9 @@ class PatternsTest extends WP_UnitTestCase {
public function test_character_led_patterns_use_the_exact_shared_stage_api() {
$contracts = array(
'home-projects' => array(
'heading' => 'Selected work',
'heading' => 'Proyectos',
// The project names come from the project list query now, not the pattern.
'order' => array( 'Selected work' ),
'order' => array( 'Proyectos' ),
'art' => 'alter-ego-code-768.webp',
'art_alt' => '',
'atmosphere' => 'chrnx-character-stage__secondary-art',