[buddypress-trac] [BuddyPress Trac] #6394: Clean up page number parameter for AJAX pagination in bp_filter_request()

buddypress-trac noreply at wordpress.org
Mon Apr 27 16:26:10 UTC 2015


#6394: Clean up page number parameter for AJAX pagination in bp_filter_request()
----------------------------------------+-----------------------
 Reporter:  dcavins                     |      Owner:
     Type:  defect (bug)                |     Status:  new
 Priority:  normal                      |  Milestone:  2.3
Component:  Appearance - Template Pack  |    Version:  2.2.3
 Severity:  normal                      |   Keywords:  has-patch
----------------------------------------+-----------------------
 The pagination click handler in `buddypress.js` sends kind of an ugly
 pagination parameter because of the way it parses the page number from the
 pagination link. (It sends something like `$_POST['page']: 2&num` ). This
 can cause problems for BP Group Hierarchy in certain cases, so I suspect
 it might cause trouble for other plugins, too.

 My patch just changes the parsing a bit so that the `$_POST['page']`
 parameter sent is only the page number.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6394>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list