Skip to:
Content

BuddyPress.org

Opened 7 years ago

Last modified 7 years ago

#7648 new enhancement

Autolinking Checkboxes

Reported by: onedevstudios's profile onedevstudios Owned by:
Milestone: Awaiting Contributions Priority: normal
Severity: normal Version: 2.9.2
Component: Extended Profile Keywords: 2nd-opinion
Cc:

Description

Some of the selections get skipped in the linking process when outputting checkboxes as links. I hoped it was related to having special characters like the other problem I still have with autolinking. But it's just randomly picking selections from the list and not making them links.

You can see it at the bottom of:
https://creaunited.com/members/lsavino/
https://creaunited.com/members/rhorning/

Those particular selections get skipped no matter which profile they are attached to.

Change History (1)

#1 @boonebgorges
7 years ago

  • Keywords 2nd-opinion added
  • Milestone changed from Awaiting Review to Future Release
  • Type changed from defect (bug) to enhancement

It's not random. It's something close to "expected" behavior, though I agree it's lousy. It won't link anything longer than 5 words long. See https://buddypress.trac.wordpress.org/browser/tags/2.9.2/src/bp-xprofile/bp-xprofile-filters.php?marks=380#L345

Perhaps checkbox/radio/etc items should be linked in full, no matter how long they are. This would take some thought to figure out.

In the meantime, you can unhook our function and hook your own version in its place, which would have a higher (or no) limit on word count.

Note: See TracTickets for help on using tickets.