WordPress.org

Make WordPress Core

Changeset 34907


Ignore:
Timestamp:
10/07/2015 01:04:32 PM (6 years ago)
Author:
johnbillion
Message:

Update the explanatory text which accompanies the list of whitelisted oEmbed providers, following the change to the default value of the discover argument in WP_oEmbed::get_provider().

See #32522

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-oembed.php

    r34785 r34907  
    9494
    9595        /**
    96          * Filter the list of oEmbed providers.
    97          *
    98          * Discovery is disabled for users lacking the unfiltered_html capability.
    99          * Only providers in this array will be used for those users.
     96         * Filter the list of whitelisted oEmbed providers.
     97         *
     98         * Since WordPress 4.4, oEmbed discovery is enabled for all users and allows embedding of sanitized
     99         * iframes. The providers in this list are whitelisted, meaning they are trusted and allowed to
     100         * embed any content, such as iframes, videos, JavaScript, and arbitrary HTML.
    100101         *
    101102         * Supported providers:
Note: See TracChangeset for help on using the changeset viewer.