[wp-trac] [WordPress Trac] #56829: use 'esc_url' for 'get_author_posts_url' where appropriate in 'src/wp-includes/blocks/avatar.php'

WordPress Trac noreply at wordpress.org
Sun Oct 16 14:48:19 UTC 2022


#56829: use 'esc_url' for 'get_author_posts_url' where appropriate in 'src/wp-
includes/blocks/avatar.php'
--------------------------+-------------------------------
 Reporter:  hztyfoon      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  coding-standards
--------------------------+-------------------------------
Changes (by SergeyBiryukov):

 * component:  General => Editor


Comment:

 Hi there, welcome back to WordPress Trac! Thanks for the ticket and the
 PR.

 Please note that files in `wp-includes/blocks/` should not be patched
 directly here in this repository. Instead, it would need to be fixed in
 the [https://github.com/WordPress/gutenberg/tree/trunk/packages/block-
 library block-library package upstream], specifically in the
 [https://github.com/WordPress/gutenberg/blob/735f8387546f32ffeaf12dbfc64e09e0cf8d0b48/packages
 /block-library/src/avatar/index.php#L103 avatar block], and then it will
 be merged into core as part of package updates.

 Could you create an issue or PR at https://github.com/WordPress/gutenberg?
 Thanks!

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


More information about the wp-trac mailing list