WordPress.org

Making WordPress.org

Opened 23 months ago

Closed 6 months ago

#3916 closed defect (reported-upstream)

Code Reference search URL is changed to link to Home

Reported by: joyously Owned by:
Milestone: Priority: normal
Component: Support Forums Keywords:
Cc:

Description

When I post a reply to a topic in the Support Forums with a search URL like
https://developer.wordpress.org/?s=get_cat
something changes it to a link with link text of Home.

Change History (5)

#1 @netweb
23 months ago

Confirmed. See https://wordpress.org/support/topic/test-developer-urls/?view=all

Original text:

https://developer.wordpress.org/?s=get_cat

Becomes:

                                
<blockquote class="wp-embedded-content" data-secret="BoN1mMIJcG">
        <p><a href="https://developer.wordpress.org/" rel="nofollow">Home</a></p>
</blockquote>

<p><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted" style="position: absolute; clip: rect(1px, 1px, 1px, 1px);" src="https://developer.wordpress.org/embed/#?secret=BoN1mMIJcG" data-secret="BoN1mMIJcG" title="“Home” — WordPress Developer Resources" marginwidth="0" marginheight="0" scrolling="no" width="500" height="282" frameborder="0"></iframe></p>

The following examples work as expected:

<a href="https://developer.wordpress.org/?s=get_cat">https://developer.wordpress.org/?s=get_cat</a>

<a href="https://developer.wordpress.org/?s=get_cat">test</a>

This ticket was mentioned in Slack in #meta by joyously. View the logs.


18 months ago

#3 @dd32
6 months ago

#4729 was marked as a duplicate.

#4 @dd32
6 months ago

Just cross-linking in #4346 too - which is closely-enough related.

#5 @dd32
6 months ago

  • Resolution set to reported-upstream
  • Status changed from new to closed

Reported upstream as #core49683

#4346 will remain open, disabling embeds for the forums for WordPress.org urls might be an option.

Note: See TracTickets for help on using tickets.