[wp-trac] [WordPress Trac] #21880: PHPdoc typo in WP_Embed->shortcode

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 13 03:55:46 UTC 2012


#21880: PHPdoc typo in WP_Embed->shortcode
--------------------------+-----------------------------
 Reporter:  DrewAPicture  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Inline Docs   |    Version:
 Severity:  trivial       |   Keywords:  has-patch
--------------------------+-----------------------------
 `@uses current_user_can()` should be `@uses author_can()`.

 I'm not fully in agreement that `author_can()` is appropriate here but
 that's maybe a broader discussion for a future cycle.

 Patch attached.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21880>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list