Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#29701 closed defect (bug) (fixed)

Correct `wp_get_attachment_image_attributes` filter comment

Reported by: tillkruess's profile tillkruess Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.1 Priority: normal
Severity: normal Version: 4.1
Component: Media Keywords:
Focuses: docs Cc:

Description

The 2nd argument for wp_get_attachment_image_attributes is not and ID, it's a post object.

Attachments (1)

29701.patch (669 bytes) - added by tillkruess 10 years ago.

Download all attachments as: .zip

Change History (3)

@tillkruess
10 years ago

#1 @SergeyBiryukov
10 years ago

  • Component changed from General to Media
  • Milestone changed from Awaiting Review to 4.1

#2 @SergeyBiryukov
10 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 29750:

Correct 'wp_get_attachment_image_attributes' filter docs.

props tillkruess.
fixes #29701.

Note: See TracTickets for help on using tickets.