Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#25409 closed defect (bug) (fixed)

Update return documentation on get_attached_file()

Reported by: drewapicture's profile DrewAPicture Owned by: drewapicture's profile 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 11 years ago.
25409.2.diff (800 bytes) - added by DrewAPicture 11 years ago.

Download all attachments as: .zip

Change History (6)

@DrewAPicture
11 years ago

#1 @DrewAPicture
11 years ago

  • Description modified (diff)

#2 @DrewAPicture
11 years ago

  • Description modified (diff)

#3 @DrewAPicture
11 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
11 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.