feat: RCT inline abbreviation tooltip on verdict legend strip (v2.2.1) (#53)

CI green (PHP Lint 8.1/8.2/8.3 ✓, PHPCS ✓, PHPUnit 8.1/8.2/8.3 ✓). QA: PASS.
This commit is contained in:
peptiderepo
2026-04-29 13:29:04 +07:00
committed by GitHub
parent bdc3ace6cf
commit 2b23bb7e2a
7 changed files with 267 additions and 5 deletions

View File

@@ -101,7 +101,7 @@ $featured_monograph_ids = array( 211, 36, 177 );
<span class="pr-verdict__glyph" aria-hidden="true"><?php echo esc_html( $v['glyph'] ); ?></span>
<span class="pr-verdict__label"><?php echo esc_html( $v['label'] ); ?></span>
</span>
<p class="hero-verdict-explainer__desc"><?php echo esc_html( $v['description'] ); ?></p>
<p class="hero-verdict-explainer__desc"><?php echo peptide_starter_render_desc( $v['description'], $v['abbrs'] ?? array() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- output is built from esc_html/esc_attr components inside render_desc(). ?></p>
</div>
<?php endforeach; ?>
</div>