Commit Graph

36 Commits

Author SHA1 Message Date
markjaquith
c1fe189ec3 ALIGN *ALL* THE THINGS! see #20324
git-svn-id: http://core.svn.wordpress.org/trunk@20874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:14:10 +00:00
nacin
6e96ad62aa Update dailymotion's oEmbed endpoint. props arena. fixes #20324.
git-svn-id: http://core.svn.wordpress.org/trunk@20873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:07:55 +00:00
nacin
b7e407cce8 Add sanity checks to WP_oEmbed::data2html() to ensure we are working with scalar values. Always use the filter. props mdawaffe, fixes #20322.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 19:46:34 +00:00
duck_
d7c0402090 We use colon as the case separator.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-21 15:04:52 +00:00
nacin
05c31605c7 Add Twitter.com as an oEmbed provider. props Otto42. see #19626.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-09 17:43:48 +00:00
ryan
e3b46b25d3 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 17:01:11 +00:00
duck_
8f0acb2058 Ensure auto-embed only matches "smugmug.com" and its subdomains. Fixes #19076.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 20:05:43 +00:00
duck_
c3bcc9800e Fix polldaddy oEmbed regular expression to work with new style URLs. Props r-a-y, azaozz. Fixes #17106.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-28 19:42:57 +00:00
ryan
73fb90a842 Update vimeo oembed api url. Props l3rady, justindgivens. fixes #18928
git-svn-id: http://svn.automattic.com/wordpress/trunk@18973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-14 17:56:48 +00:00
duck_
e4ed63fc6f Fix typos in documentation (wp-includes/[a-h]). See #18560.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 16:02:41 +00:00
ryan
7ba7176d62 Cast widget and height to int in WP_oEmbed:fetch() so we don't have to rely on providers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:20:48 +00:00
nacin
7c4f97f677 Update the blip.tv regex. props blepoxp, fixes #17495.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-20 15:52:39 +00:00
ryan
7b645b1bfe Remove PHP4 constructor. Props ocean90. see #16768
git-svn-id: http://svn.automattic.com/wordpress/trunk@17654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 21:45:20 +00:00
nacin
d397326116 When inserting an image via oEmbed, wrap it in a link. props MarkJaquith, fixes #14945.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 02:17:13 +00:00
markjaquith
dd6ea0186c Revert accidental inclusion in last commit... [15740]
git-svn-id: http://svn.automattic.com/wordpress/trunk@15741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 08:06:31 +00:00
markjaquith
df006b32e2 Fix an English fail.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 08:04:15 +00:00
nacin
addcd21cc0 Fix order of params to strpos. props ampt, fixes #12115.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 04:14:35 +00:00
ryan
7b7243d94a Strip trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 20:26:11 +00:00
nacin
f9115ee668 Simply search for newlines to strip instead of checking the oEmbed provider. fixes #12115.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-27 05:21:39 +00:00
nacin
5deebd667f Strip new lines from Viddler embeds, as we do for Scribd embeds. Avoids conflicts with wpautop. props Viper007Bond. see #12115.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-16 14:15:16 +00:00
nacin
f181423040 Request XML from an oEmbed provider if the provider returns '501 Not Implemented' for JSON. props nbachiyski, fixes #11964.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 12:30:22 +00:00
nacin
5656a345b9 Use esc_url() instead of clean_url(). See #12309
git-svn-id: http://svn.automattic.com/wordpress/trunk@13297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:15:10 +00:00
dd32
47913f1e52 Add FunnyOrDie.com oEmbed support. Props Viper007Bond. Fixes #11899.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 02:17:39 +00:00
nacin
85992786c8 Add Youtu.be short URLs and Smugmug to the default oEmbed providers. Props Viper007Bond, fixes #11556, fixes #12157
git-svn-id: http://svn.automattic.com/wordpress/trunk@13203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 22:43:52 +00:00
ryan
14e359a211 Use oEmbed for PollDaddy. Props Viper007Bond. fixes #12174
git-svn-id: http://svn.automattic.com/wordpress/trunk@13021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 16:15:13 +00:00
ryan
0b106b0808 Use oEmbed for dailymotion. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-06 17:33:53 +00:00
ryan
1388798565 Add wordpress.tv to oEmbed provider whitelist. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-12 22:05:05 +00:00
ryan
424cc274f1 Add a bunch of new filters. Use one of them to remove new lines from Scribd embeds. Invalid oEmbed post meta cache without using JS. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-06 14:22:23 +00:00
ryan
872e7cc3eb Fix regex. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-02 20:50:49 +00:00
ryan
cca2279a4d Switch oEmbed option to control discovery. Tweak whitelist and settings page. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-02 14:41:35 +00:00
ryan
475b2737ba Add scribd to oembed provider whitelist. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-30 20:03:41 +00:00
ryan
cd8071e7ce Fix revision3 scheme. Add photobucket oembed. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-28 20:13:09 +00:00
ryan
deaf8bd758 Allow non-admins to use Vimeo and allow regex in oEmbed URL formats. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-23 19:33:24 +00:00
ryan
bf96c01551 Associate subdirector of whitespace trims trailing whites with pinking shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 20:26:21 +00:00
ryan
18f11f1fbc Use oEmbed for youtube. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 22:36:24 +00:00
ryan
410fcc2e42 Embeds. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 17:04:22 +00:00