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

git-svn-id: http://core.svn.wordpress.org/trunk@21830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-09-13 16:42:43 +00:00
parent 94c34141b3
commit 58e1e69c4b
1 changed files with 1 additions and 1 deletions

View File

@ -1162,7 +1162,7 @@ class WP_Embed {
* @uses wp_embed_defaults() * @uses wp_embed_defaults()
* @uses WP_Embed::maybe_make_link() * @uses WP_Embed::maybe_make_link()
* @uses get_option() * @uses get_option()
* @uses current_user_can() * @uses author_can()
* @uses wp_cache_get() * @uses wp_cache_get()
* @uses wp_cache_set() * @uses wp_cache_set()
* @uses get_post_meta() * @uses get_post_meta()