Make WordPress Core

Opened 6 years ago

Closed 5 years ago

#42449 closed defect (bug) (fixed)

Fix filter documentation for wp_prepare_attachment_for_js

Reported by: danielbachhuber's profile danielbachhuber Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 5.1 Priority: normal
Severity: normal Version:
Component: Media Keywords: has-patch
Focuses: docs Cc:

Description

$attachment is always an object, never an ID.

Attachments (1)

42449.1.diff (744 bytes) - added by danielbachhuber 6 years ago.

Download all attachments as: .zip

Change History (6)

#1 @SergeyBiryukov
6 years ago

  • Milestone changed from Future Release to 5.0

#2 @SergeyBiryukov
6 years ago

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

In 42345:

Docs: Correct $attachment parameter type for wp_prepare_attachment_for_js filter.

Props danielbachhuber.
Fixes #42449.

#3 @johnbillion
5 years ago

  • Milestone changed from 5.0 to 5.0.1
  • Resolution fixed deleted
  • Status changed from closed to reopened

#4 @pento
5 years ago

  • Milestone changed from 5.0.1 to 5.0.2

#5 @SergeyBiryukov
5 years ago

  • Milestone changed from 5.0.2 to 5.1
  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.