Files
wordpress-develop/src/wp-includes
Scott Taylor 3b060c1931 Read the src attribute for the [embed] shortcode if the shortcode's body is empty.
These work:
`[embed src="https://www.youtube.com/watch?v=ZqD-LPOWIT0"]`
`[embed src="https://www.youtube.com/watch?v=ZqD-LPOWIT0"][/embed]`

If you do:
`[embed src="https://www.youtube.com/watch?v=ZqD-LPOWIT0"]http://any-other-url.com[/embed]`

... "http://any-other-url.com" will be the URL that is parsed.

Props kovshenin, aaroncampbell for making initial patches.
Fixes #24456.



git-svn-id: https://develop.svn.wordpress.org/trunk@28559 602fd350-edb4-49c9-b593-d223f7449a82
2014-05-23 18:05:24 +00:00
..
2014-04-07 17:51:44 +00:00
2014-03-27 22:40:06 +00:00
2013-10-23 14:37:54 +00:00
2013-10-23 14:37:54 +00:00
2013-10-23 14:37:54 +00:00
2014-03-28 13:56:44 +00:00
2014-03-26 18:42:41 +00:00
2013-09-06 17:18:33 +00:00