[buddypress-trac] [BuddyPress Trac] #6844: Extract & relocate core markup functions: Theme compat include functionality & search forms file

buddypress-trac noreply at wordpress.org
Thu Sep 15 19:14:40 UTC 2016


#6844: Extract & relocate core markup functions:  Theme compat include
functionality & search forms file
-------------------------+---------------------------
 Reporter:  hnla         |       Owner:  boonebgorges
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  2.7
Component:  Templates    |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+---------------------------
Changes (by r-a-y):

 * keywords:   => has-patch


Comment:

 Added `ajax.patch` to fix the issue I mentioned in comment:39.

 This is what I'm doing in the patch:

 `search_terms = target.parent().find( '#' + object + '_search' ).val();`

 This targets our specific input text field.

 Before, it was:
 `target.parent().children('label').children('input').val()`

 Tested on the Members, Groups, and Sites Directory pages and on a group's
 "Members" page.

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


More information about the buddypress-trac mailing list