WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/15/2009 09:16:00 PM (10 years ago)
Author:
ryan
Message:

Remove oEmbed discovery option. Add hook so plugins can enable it. see #10337

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-media.php

    r12140 r12411  
    7777</tr>
    7878
    79 <?php if ( current_user_can('unfiltered_html') ) { ?>
    80 <tr valign="top">
    81 <th scope="row"><?php _e('oEmbed discovery'); ?></th>
    82 <td><fieldset><legend class="screen-reader-text"><span><?php printf( __('Attempt to embed content from unknown URLs using <a href="%s">oEmbed</a>'), 'http://codex.wordpress.org/Embeds#oEmbed' ); ?></span></legend>
    83 <label for="embed_oembed_discover"><input name="embed_oembed_discover" type="checkbox" id="embed_oembed_discover" value="1" <?php checked( '1', get_option('embed_oembed_discover') ); ?>/> <?php printf( __('Attempt to embed content from unknown URLs using <a href="%s">oEmbed</a>'), 'http://codex.wordpress.org/Embeds#oEmbed' ); ?></label>
    84 </fieldset></td>
    85 </tr>
    86 
    87 <?php } ?>
    8879<tr valign="top">
    8980<th scope="row"><?php _e('Maximum embed size') ?></th>
Note: See TracChangeset for help on using the changeset viewer.