[wp-meta] [Making WordPress.org] #7466: <span aria-hidden="true"> in <meta name="description"> breaks layout
Making WordPress.org
noreply at wordpress.org
Wed Feb 14 03:57:25 UTC 2024
#7466: <span aria-hidden="true"> in <meta name="description"> breaks layout
----------------------------+---------------------
Reporter: takayukister | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone:
Component: Support Forums | Resolution:
Keywords: |
----------------------------+---------------------
Comment (by dd32):
This is caused by https://github.com/WordPress/wporg-mu-plugins/pull/454
However, the existing tags being output are duplicating Jetpack opengraph
tags.
For example, with an English support thread:
{{{
$ curl -s 'https://wordpress.org/support/topic/ssl-question-for-wordpress-
domain-w-3rd-party-hosting/' | grep 'description"'
<meta property="og:description" content="Support » Installing
WordPress » SSL Question for WordPress Domain w/ 3rd Party Hosting
SSL Question for WordPress Domain w/ 3rd Party Hosting pfischer1
(@pfischer1) 7 hours, 58 minutes…" />
<meta name="og:description" content="I am planning to transfer a domain to
WordPress.com. I still have a hosting plan elsewhere. That hosting
provider charges for SSL cert. Does…" />
<meta name="description" content="I am planning to transfer a domain to
WordPress.com. I still have a hosting plan elsewhere. That hosting
provider charges for SSL cert. Does…" />
}}}
`WordPressdotorg\Forums\Hooks::meta_description()` likely should be
replaced a filter on the Jetpack opengraph data.
The header unicode arrow code should also be updated to not affect
unexpected locations (ie. attributes).
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/7466#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list