WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/18/2016 09:46:17 AM (4 years ago)
Author:
swissspidy
Message:

Embeds: Remove support for Google Video.

While the service has been retired for years, it now has completely stopped working. Thus there is no reason to keep it.

Props Viper007Bond.
Fixes #36304.

File:
1 edited

Legend:

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

    r37702 r37744  
    37413741    return $text;
    37423742}
     3743
     3744/**
     3745 * The Google Video embed handler callback.
     3746 *
     3747 * Deprecated function that previously assisted in turning Google Video URLs
     3748 * into embeds but that service has since been shut down.
     3749 *
     3750 * @since 2.9.0
     3751 * @deprecated 4.6.0
     3752 *
     3753 * @return string An empty string.
     3754 */
     3755function wp_embed_handler_googlevideo( $matches, $attr, $url, $rawattr ) {
     3756    _deprecated_function( __FUNCTION__, '4.6.0' );
     3757
     3758    return '';
     3759}
Note: See TracChangeset for help on using the changeset viewer.