[wp-trac] [WordPress Trac] #65396: Blocks: Add missing esc_url() to href output in post-author-name and post-date block renderers

WordPress Trac noreply at wordpress.org
Wed Jun 3 04:51:27 UTC 2026


#65396: Blocks: Add missing esc_url() to href output in post-author-name and post-
date block renderers
--------------------------------------------+------------------------------
 Reporter:  thisismyurl                     |       Owner:  (none)
     Type:  defect (bug)                    |      Status:  new
 Priority:  normal                          |   Milestone:  Awaiting Review
Component:  Editor                          |     Version:
 Severity:  normal                          |  Resolution:
 Keywords:  has-patch close move-to-github  |     Focuses:
--------------------------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:  has-patch needs-testing => has-patch close move-to-github
 * version:  trunk =>


Comment:

 Hi and thanks for the report!

 These will need to be fixed in the plugin first. Could you open a
 Gutenberg PR (and/or an issue)?

 -
 [https://github.com/WordPress/gutenberg/blob/a7c4952a0044cc61e816d070a55dd4ec5873844c/packages
 /block-library/src/post-author-name/index.php#L35 Post Author Name]
 -
 [https://github.com/WordPress/gutenberg/blob/a7c4952a0044cc61e816d070a55dd4ec5873844c/packages
 /block-library/src/post-date/index.php#L87 Post Date]
 -
 [https://github.com/WordPress/gutenberg/blob/a7c4952a0044cc61e816d070a55dd4ec5873844c/packages
 /block-library/src/post-featured-image/index.php#L107 Post Featured Image]
 -
 [https://github.com/WordPress/gutenberg/blob/a7c4952a0044cc61e816d070a55dd4ec5873844c/packages
 /block-library/src/read-more/index.php#L43 Read More]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65396#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list