Adopt reusable CI standard + PHPUnit conversion (#22)
Squash-merge of PR #22: adopt shared reusable CI workflow, convert PHPUnit to stubs, update branch-protection contexts.
QA-approved at 05d8094a1d. All required CI checks green.
Agent-Session: 2026-06-17-prcore-ci-deploy
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* Part of the Peptide Repo Core plugin.
|
||||
*
|
||||
* @package Peptide_Repo_Core
|
||||
*/
|
||||
|
||||
/**
|
||||
* Related posts card template part.
|
||||
*
|
||||
@@ -12,7 +18,7 @@ if ( ! isset( $args['post'] ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$post = $args['post'];
|
||||
$post = $args['post']; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
|
||||
?>
|
||||
<article class="pr-related-posts__card">
|
||||
<?php
|
||||
@@ -24,11 +30,11 @@ $post = $args['post'];
|
||||
get_the_post_thumbnail(
|
||||
$post,
|
||||
'post-thumbnail',
|
||||
[
|
||||
array(
|
||||
'class' => 'pr-related-posts__image-element',
|
||||
'loading' => 'lazy',
|
||||
'decoding' => 'async',
|
||||
]
|
||||
)
|
||||
)
|
||||
);
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user