Opened 8 months ago
Closed 8 months ago
#21880 closed defect (bug) (fixed)
PHPdoc typo in WP_Embed->shortcode
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Inline Docs | Version: | |
| Severity: | trivial | Keywords: | has-patch commit |
| Cc: | xoodrew@… |
Description
@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.
Attachments (1)
Change History (4)
DrewAPicture — 8 months ago
comment:1
DrewAPicture — 8 months ago
- Cc xoodrew@… added
Note: See
TracTickets for help on using
tickets.

Relevant IRC discussion