WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#21880 closed defect (bug) (fixed)

PHPdoc typo in WP_Embed->shortcode

Reported by: DrewAPicture Owned by: nacin
Milestone: 3.5 Priority: normal
Severity: trivial Version:
Component: Inline Docs Keywords: has-patch commit
Focuses: Cc:

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 9 years ago.

Download all attachments as: .zip

Change History (4)

@DrewAPicture
9 years ago

#2 @nacin
9 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 3.5

#3 @nacin
9 years ago

  • 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.