[wp-trac] [WordPress Trac] #61727: Add `$context` parameter to `get_edit_comment_link()` to get the URL without HTML entities
WordPress Trac
noreply at wordpress.org
Tue Sep 10 18:02:50 UTC 2024
#61727: Add `$context` parameter to `get_edit_comment_link()` to get the URL
without HTML entities
-------------------------------------------------+-------------------------
Reporter: flixos90 | Owner: flixos90
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.7
Component: Comments | Version:
Severity: normal | Resolution:
Keywords: good-first-bug has-patch has-unit- | Focuses: template
tests |
-------------------------------------------------+-------------------------
Comment (by flixos90):
Thanks @davidbinda, this is a great catch. I implemented a fix in
https://github.com/WordPress/wordpress-develop/pull/7322 that ensures the
parameter is always the comment ID, which makes more sense for consistent
filter behavior.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61727#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list