fix: address CHRNX editorial review findings

This commit is contained in:
chrnx committed 2026-08-11 18:18:05 -05:00
1 parent 247f9a7915
commit 7297523e26
17 files changed
+236 -10

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "chrnx/journal-link",
"version": "0.1.0",
"title": "Journal Link",
"category": "theme",
"description": "Display a translated portable link to the full Journal.",
"textdomain": "chrnx",
"supports": { "html": false },
"render": "file:./render.php"
}
+8
View File
@@ -0,0 +1,8 @@
<?php
/**
* Journal Link block render.
*
* @package CHRNX
*/
?>
<p <?php echo get_block_wrapper_attributes( array( 'class' => 'chrnx-journal-link' ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>><a href="<?php echo esc_url( chrnx_get_full_journal_url() ); ?>"><?php echo esc_html__( 'Browse the full Journal', 'chrnx' ); ?></a></p>