Skip to:
Content

BuddyPress.org

Changeset 9499


Ignore:
Timestamp:
02/17/2015 10:32:13 PM (10 years ago)
Author:
johnjamesjacoby
Message:

Remove code responsible for removing "page=1" query string arguments in notifications pagination.

This code in an anomaly in our components, and is causing issues with pagination links not having accurate destinations.

Props r-a-y. See #6205. (2.2 branch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/src/bp-notifications/bp-notifications-template.php

    r9414 r9499  
    336336                'add_args'  => $add_args,
    337337            ) );
    338 
    339             // Remove first page from pagination
    340             $this->pag_links = str_replace( '?'      . $r['page_arg'] . '=1', '', $this->pag_links );
    341             $this->pag_links = str_replace( '&' . $r['page_arg'] . '=1', '', $this->pag_links );
    342338        }
    343339    }
Note: See TracChangeset for help on using the changeset viewer.