WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#25409 closed defect (bug) (fixed)

Update return documentation on get_attached_file()

Reported by: DrewAPicture Owned by: DrewAPicture
Milestone: 3.7 Priority: normal
Severity: normal Version:
Component: Inline Docs Keywords: has-patch
Focuses: Cc:

Description (last modified by DrewAPicture)

As noted in 15:ticket:25170, get_attached_file() returns the path to where an attachment should be.

Attached patch updates the get_attached_file() phpdoc to reflect the above.

Attachments (2)

25409.diff (898 bytes) - added by DrewAPicture 8 years ago.
25409.2.diff (800 bytes) - added by DrewAPicture 8 years ago.

Download all attachments as: .zip

Change History (6)

@DrewAPicture
8 years ago

#1 @DrewAPicture
8 years ago

  • Description modified (diff)

#2 @DrewAPicture
8 years ago

  • Description modified (diff)

@DrewAPicture
8 years ago

#3 @DrewAPicture
8 years ago

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

In 25609:

Clarify inline documentation for the return in get_attached_file().

Fixes #25409.

#4 @DrewAPicture
8 years ago

  • Summary changed from Update return documentation on get_attached_file() as only returning a string to Update return documentation on get_attached_file()
Note: See TracTickets for help on using tickets.