WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/04/2009 03:52:23 PM (10 years ago)
Author:
ryan
Message:

Show oEmbed discovery option only if the current user has the unfiltered_html cap. see #10337

File:
1 edited

Legend:

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

    r12136 r12140  
    7777</tr>
    7878
     79<?php if ( current_user_can('unfiltered_html') ) { ?>
    7980<tr valign="top">
    8081<th scope="row"><?php _e('oEmbed discovery'); ?></th>
     
    8485</tr>
    8586
     87<?php } ?>
    8688<tr valign="top">
    8789<th scope="row"><?php _e('Maximum embed size') ?></th>
Note: See TracChangeset for help on using the changeset viewer.