Gary Pendergast
198ad14ffd
Embeds: Tweak a string added in [35429], and add a translator comment.
...
See #32522 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35430 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-29 11:41:32 +00:00
Gary Pendergast
01f507a051
Embeds: Tweak the "embed not found" message, based on the Twenty Sixteen 404 template.
...
See #32522 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35429 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-29 11:09:39 +00:00
Dominik Schilling (ocean90)
60f6db0c06
Embeds: Provide a site icon via srcset
for HiDPI screens.
...
Fixes #34433 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35409 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-27 20:59:37 +00:00
Sergey Biryukov
a001771ec4
Site Icon: Introduce get_site_icon_url
filter for the icon URL.
...
Remove `oembed_site_icon_url` filter added in [34903].
Props swissspidy.
Fixes #34411 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35379 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-23 21:16:30 +00:00
Konstantin Obenland
c7a86be42c
Tests: Use updated filter names and oembed title for UT sanity.
...
See [35294], #31078 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35295 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-20 17:04:29 +00:00
Sergey Biryukov
9b591d6b09
Embeds: Rename files, functions, and hooks added in [34903] to make it more clear what is oEmbed-specific and what isn't.
...
See https://core.trac.wordpress.org/ticket/34272#comment:7 for full list of renamed functions and hooks.
Props swissspidy.
Fixes #34272 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35235 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-17 01:20:19 +00:00
Sergey Biryukov
6aa28b5bd3
Format the number of comments in wp-includes/embed-template.php
for the locale.
...
Props johnbillion.
Fixes #34276 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35096 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-13 01:01:53 +00:00
John Blackbourn
d32c6cfbc9
Remove another unnecessary function_exists()
call.
...
See [35087]
See #32522
git-svn-id: https://develop.svn.wordpress.org/trunk@35089 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-12 23:19:43 +00:00
John Blackbourn
4d8c6f6e08
Remove an unnecessary function_exists()
call which was included in the oEmbed feature plugin for compatibility with WordPress < 4.3.
...
See #32522
git-svn-id: https://develop.svn.wordpress.org/trunk@35087 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-12 22:53:28 +00:00
John Blackbourn
2eaae4739b
Correct two escaping functions used in wp-includes/embed-template.php
.
...
See #32522
git-svn-id: https://develop.svn.wordpress.org/trunk@35086 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-12 22:51:32 +00:00
John Blackbourn
da6090d9f7
Add missing @since
docs for the filters in wp-includes/embed-template.php
...
See #32522 , #32246
git-svn-id: https://develop.svn.wordpress.org/trunk@35085 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-12 22:50:34 +00:00
Gary Pendergast
a170c1f67e
Embeds: After [34903], remove an accidentally included text domain, and exclude a test failing in PHP 5.2.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@34904 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-07 11:00:59 +00:00
Gary Pendergast
43bd3d46c9
Embeds: Add oEmbed provider support.
...
For the past 6 years, WordPress has operated as an oEmbed consumer, allowing users to easily embed content from other sites. By adding oEmbed provider support, this allows any oEmbed consumer to embed posts from WordPress sites.
In addition to creating an oEmbed provider, WordPress' oEmbed consumer code has been enhanced to work with any site that provides oEmbed data (as long as it matches some strict security rules), and provides a preview from within the post editor.
For security, embeds appear within a sandboxed iframe - the iframe content is a template that can be styled or replaced entirely by the theme on the provider site.
Props swissspidy, pento, melchoyce, netweb, pfefferle, johnbillion, extendwings, davidbinda, danielbachhuber, SergeyBiryukov, afercia
Fixes #32522 .
git-svn-id: https://develop.svn.wordpress.org/trunk@34903 602fd350-edb4-49c9-b593-d223f7449a82
2015-10-07 10:35:18 +00:00