[wp-trac] [WordPress Trac] #54372: class-wp-automatic-updater.php adds a period to home_url()
WordPress Trac
noreply at wordpress.org
Fri Nov 5 10:42:56 UTC 2021
#54372: class-wp-automatic-updater.php adds a period to home_url()
-----------------------------+------------------------------
Reporter: chris554 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version: trunk
Severity: minor | Resolution:
Keywords: has-patch | Focuses: administration
-----------------------------+------------------------------
Comment (by costdev):
@chris554 Thanks for providing more information about your setup!
The patches above are only to help speed up the process should this
discussion lead to a change in Core. Personally, I think the onus is on
the email service to parse the URLs accurately.
Based on the issue, I assume that their parsing amounts to:
1. Split the email message into 'parts' when a space is found.
2. If `http://` or `https://` is detected, link this 'part' as-is.
Scroll to the very bottom of [https://3v4l.org/39kOS this example] to see
how a service could parse the `home_url()` more accurately. **Disclaimer:
This is an illustrative example. Do not use in production.**
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54372#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list