Skip to:
Content

BuddyPress.org

Opened 10 years ago

Closed 5 years ago

#7306 closed defect (bug) (fixed)

Incorrect? PHPDoc for bp_xprofile_get_meta

Reported by: DJPaul Owned by: espellcaste
Priority: normal Milestone: 10.0.0
Component: Extended Profile Version: 2.7
Severity: normal Keywords: has-patch
Cc:

Description

Per #7300, the bp_xprofile_get_meta function says it returns a bool, but it actually returns an empty string.

Figure out what it's meant to do, and change the PHPDoc or update existing uses as appropriate.

Attachments (1)

7306.patch (1.2 KB ) - added by imath 5 years ago.

Download all attachments as: .zip

Change History (7)

#1 @slaffik
10 years ago

In 11350:

Profile: Improve bp-xprofile-template.php PHPDoc comments.

Added some proper casting for (int) and fixed @return statements, where we previously had mixed|void for some reason.

See #7306.

#2 @DJPaul
9 years ago

  • Milestone 2.8Future Release

#3 @espellcaste
5 years ago

  • Milestone Awaiting Contributions10.0.0
  • Owner set to espellcaste
  • Status newassigned

Based on the committed code, this ticket should be resolved. But I'll move this to the 10 milestone for another eye and decision. :)

#4 @imath
5 years ago

  • Keywords has-patch added

The committed code is not about the bp_xprofile_get_meta() function. The attached patch should fix the issue.

@imath
5 years ago

#5 @espellcaste
5 years ago

@imath Thanks! That's correct!

#6 @espellcaste
5 years ago

  • Resolutionfixed
  • Status assignedclosed
Note: See TracTickets for help on using tickets.