[wp-trac] [WordPress Trac] #54535: Make first comment URLs translatable
WordPress Trac
noreply at wordpress.org
Mon Nov 29 18:16:24 UTC 2021
#54535: Make first comment URLs translatable
-----------------------------+----------------------------------------
Reporter: desrosj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Upgrade/Install | Version:
Severity: normal | Keywords: good-first-bug needs-patch
Focuses: |
-----------------------------+----------------------------------------
When English is not the site's default language, using
`https://wordpress.org/` and `https://gravatar.com` as the default comment
URL may not be ideal.
Wrapping these strings in translation functions will allow the URL to be
localized.
I leaned towards just using the default Gravatar URL, but it looks like
the English URL has been used elsewhere in Core when wrapped in `__()`
([https://core.trac.wordpress.org/browser/trunk/src/wp-admin/user-
edit.php#L593 source]). I think the same pattern could be used here.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54535>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list