WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24615, comment 1


Ignore:
Timestamp:
06/21/13 04:32:01 (10 months ago)
Author:
Viper007Bond
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24615, comment 1

    initial v1  
    1 This is due to `WP_Embed` trying to embed the URL. When it returns, it does `return "\n$return\n";` which IIRC was because the regex is including new lines in it's match and so that's there to prevent stripping them. 
     1This is due to `WP_Embed` trying to embed the URL. When it returns, it does `return "\n$return\n";` which IIRC was because the regex is including new lines in it's match and so that's there to prevent stripping them during the process of matching and replacing. 
    22 
    3 Looks like there's a bug in the logic though because it shouldn't be resulting in extra line breaks being introduces. 
     3Looks like there's a bug in the logic though because it shouldn't be resulting in extra line breaks being introduced.