[wp-trac] [WordPress Trac] #23776: A string of text starting with "http://" turned into a paragraph
WordPress Trac
noreply at wordpress.org
Fri Mar 15 07:10:15 UTC 2013
#23776: A string of text starting with "http://" turned into a paragraph
--------------------------+------------------------------
Reporter: winterstreet | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version: 2.9
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Changes (by SergeyBiryukov):
* version: 3.5 => 2.9
* component: General => Embeds
Comment:
Introduced in [12023].
`WP_Embed::autoembed()` has a regex to catch any unlinked URLs that are on
their own line: [[BR]]
http://core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/class-wp-
embed.php#L237
`WP_Embed::autoembed_callback()` then adds an empty line after the URL.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23776#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list