WordPress.org

Make WordPress Core

Changeset 21830


Ignore:
Timestamp:
09/13/12 16:42:43 (20 months ago)
Author:
nacin
Message:

oEmbed uses author_can(), not current_user_can(). props DrewAPicture, fixes #21880.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/media.php

    r21785 r21830  
    11631163     * @uses WP_Embed::maybe_make_link() 
    11641164     * @uses get_option() 
    1165      * @uses current_user_can() 
     1165     * @uses author_can() 
    11661166     * @uses wp_cache_get() 
    11671167     * @uses wp_cache_set() 
Note: See TracChangeset for help on using the changeset viewer.