Opened 8 months ago

Closed 8 months ago

#21880 closed defect (bug) (fixed)

PHPdoc typo in WP_Embed->shortcode

Reported by: DrewAPicture Owned by: nacin
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)

21880.diff (430 bytes) - added by DrewAPicture 8 months ago.

Download all attachments as: .zip

Change History (4)

  • Keywords commit added
  • Milestone changed from Awaiting Review to 3.5
  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In [21830]:

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

Note: See TracTickets for help on using tickets.