[buddypress-trac] [BuddyPress Trac] #4774: Autocomplete for Messages 'Send to' searches all xprofile fields

buddypress-trac noreply at wordpress.org
Sun Nov 13 22:46:38 UTC 2016


#4774: Autocomplete for Messages 'Send to' searches all xprofile fields
--------------------------+-----------------------------
 Reporter:  mort3n        |       Owner:
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Messages      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+-----------------------------
Changes (by slaFFik):

 * keywords:   => dev-feedback
 * version:  1.6.1 =>
 * component:  Core => Messages


Comment:

 I can replicate the issue, we search for xprofile fields, that might be
 not very relevant.

 As I can see in the code - we do that regardless of
 `BP_MESSAGES_AUTOCOMPLETE_ALL` value. For friends (when const is not
 defined, and in case xprofile is activated) we do absolutely the same.

 So we need to decide - whether we want/need to rewrite the search here to
 make it search by user_name, display_name and other names (but exclude
 profile data), or leave as is.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4774#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list