{"action":"created","issue":{"url":"https://api.github.com/repos/pods-framework/pods/issues/2630","labels_url":"https://api.github.com/repos/pods-framework/pods/issues/2630/labels{/name}","comments_url":"https://api.github.com/repos/pods-framework/pods/issues/2630/comments","events_url":"https://api.github.com/repos/pods-framework/pods/issues/2630/events","html_url":"https://github.com/pods-framework/pods/issues/2630","id":54996388,"number":2630,"title":"Pagination not fully working with pods 2.5 and Wordpress 4.1","user":{"login":"EliotBerriot","id":1970915,"avatar_url":"https://avatars.githubusercontent.com/u/1970915?v=3","gravatar_id":"","url":"https://api.github.com/users/EliotBerriot","html_url":"https://github.com/EliotBerriot","followers_url":"https://api.github.com/users/EliotBerriot/followers","following_url":"https://api.github.com/users/EliotBerriot/following{/other_user}","gists_url":"https://api.github.com/users/EliotBerriot/gists{/gist_id}","starred_url":"https://api.github.com/users/EliotBerriot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EliotBerriot/subscriptions","organizations_url":"https://api.github.com/users/EliotBerriot/orgs","repos_url":"https://api.github.com/users/EliotBerriot/repos","events_url":"https://api.github.com/users/EliotBerriot/events{/privacy}","received_events_url":"https://api.github.com/users/EliotBerriot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pods-framework/pods/labels/Bug%3A+Regression","name":"Bug: Regression","color":"e11d21"},{"url":"https://api.github.com/repos/pods-framework/pods/labels/Needs+Contributor","name":"Needs Contributor","color":"DDDDDD"},{"url":"https://api.github.com/repos/pods-framework/pods/labels/Needs+Research","name":"Needs Research","color":"DDDDDD"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/pods-framework/pods/milestones/54","labels_url":"https://api.github.com/repos/pods-framework/pods/milestones/54/labels","id":924652,"number":54,"title":"Pods 2.5.2","description":"","creator":{"login":"Shelob9","id":1994311,"avatar_url":"https://avatars.githubusercontent.com/u/1994311?v=3","gravatar_id":"","url":"https://api.github.com/users/Shelob9","html_url":"https://github.com/Shelob9","followers_url":"https://api.github.com/users/Shelob9/followers","following_url":"https://api.github.com/users/Shelob9/following{/other_user}","gists_url":"https://api.github.com/users/Shelob9/gists{/gist_id}","starred_url":"https://api.github.com/users/Shelob9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shelob9/subscriptions","organizations_url":"https://api.github.com/users/Shelob9/orgs","repos_url":"https://api.github.com/users/Shelob9/repos","events_url":"https://api.github.com/users/Shelob9/events{/privacy}","received_events_url":"https://api.github.com/users/Shelob9/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":5,"state":"open","created_at":"2015-01-06T23:17:22Z","updated_at":"2015-01-22T20:44:46Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2015-01-21T09:36:51Z","updated_at":"2015-01-22T20:44:46Z","closed_at":"2015-01-22T20:44:46Z","body":"It seems the pagination does not output correctly anymore with `echo $my_pods->pagination( array( 'type' => 'paginate' ) );`.\r\n\r\nOn the first page, everything is okay, I get:\r\n    \r\n    <span class=\"page-numbers current\">1</span>\r\n    <a class=\"page-numbers\" href=\"?pg=2\">2</a>\r\n    <a class=\"page-numbers\" href=\"?pg=3\">3</a>\r\n    <span class=\"page-numbers dots\">…</span>\r\n    <a class=\"page-numbers\" href=\"?pg=5\">5</a>\r\n    <a class=\"next page-numbers\" href=\"?pg=2\">Next ›</a>\r\n\r\nHowever, when viewing another page, each page number links to the same page. Exemple when viewing the second page:\r\n    \r\n    <a class=\"prev page-numbers\" href=\"?pg=2\">‹ Previous</a>\r\n    <a class=\"page-numbers\" href=\"?pg=2\">1</a>\r\n    <span class=\"page-numbers current\">2</span>\r\n    <a class=\"page-numbers\" href=\"?pg=2\">3</a>\r\n    <a class=\"page-numbers\" href=\"?pg=2\">4</a>\r\n    <a class=\"page-numbers\" href=\"?pg=2\">5</a>\r\n    <a class=\"next page-numbers\" href=\"?pg=2\">Next ›</a>\r\n\r\nYou can see a [live example](http://adjemian.net/galerie/peintures/) at the bottom of the bottom of the page.\r\n\r\nI've tested locally (with a replica of the linked website), the problem occured after I upgraded to Wordpress 4.1."},"comment":{"url":"https://api.github.com/repos/pods-framework/pods/issues/comments/71095095","html_url":"https://github.com/pods-framework/pods/issues/2630#issuecomment-71095095","issue_url":"https://api.github.com/repos/pods-framework/pods/issues/2630","id":71095095,"user":{"login":"Shelob9","id":1994311,"avatar_url":"https://avatars.githubusercontent.com/u/1994311?v=3","gravatar_id":"","url":"https://api.github.com/users/Shelob9","html_url":"https://github.com/Shelob9","followers_url":"https://api.github.com/users/Shelob9/followers","following_url":"https://api.github.com/users/Shelob9/following{/other_user}","gists_url":"https://api.github.com/users/Shelob9/gists{/gist_id}","starred_url":"https://api.github.com/users/Shelob9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shelob9/subscriptions","organizations_url":"https://api.github.com/users/Shelob9/orgs","repos_url":"https://api.github.com/users/Shelob9/repos","events_url":"https://api.github.com/users/Shelob9/events{/privacy}","received_events_url":"https://api.github.com/users/Shelob9/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T20:44:46Z","updated_at":"2015-01-22T20:44:46Z","body":"Just so this is clear for anyone who finds this issue, the problem is with WordPress 4.1 and is fixed in 4.1.1.\r\n\r\nClosing."}}