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:
parent
94c34141b3
commit
58e1e69c4b
|
@ -1162,7 +1162,7 @@ class WP_Embed {
|
|||
* @uses wp_embed_defaults()
|
||||
* @uses WP_Embed::maybe_make_link()
|
||||
* @uses get_option()
|
||||
* @uses current_user_can()
|
||||
* @uses author_can()
|
||||
* @uses wp_cache_get()
|
||||
* @uses wp_cache_set()
|
||||
* @uses get_post_meta()
|
||||
|
|
Loading…
Reference in New Issue