[buddypress-trac] [BuddyPress Trac] #6189: Query string in directory URL breaks AJAX pagination

buddypress-trac noreply at wordpress.org
Wed Nov 25 21:32:33 UTC 2015

#6189: Query string in directory URL breaks AJAX pagination
 Reporter:  dontdream            |       Owner:
     Type:  defect (bug)         |      Status:  closed
 Priority:  normal               |   Milestone:
Component:  Component - Members  |     Version:
 Severity:  normal               |  Resolution:
 Keywords:  has-patch            |

Comment (by r-a-y):

 In [changeset:"10381"]:
 #!CommitTicketReference repository="" revision="10381"
 JS: Fix an issue with parsing the page number when clicking on a
 pagination link.

 Previously, when a paginated link is clicked, we grabbed the page number
 from the URL.  This isn't great as the URL is unreliable to parse the page
 number (see #6189).

 This commit partially reverts r7946 to use the older page number parsing,
 but with some logic to properly parse numbers.

 See #6745 (2.4-branch).

 Anti-props r-a-y.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6189#comment:15>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list