[wp-trac] [WordPress Trac] #2693: Paging broken on Manage Pages
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 25 12:30:00 GMT 2006
#2693: Paging broken on Manage Pages
----------------------------+-----------------------------------------------
Id: 2693 | Status: new
Component: Administration | Modified: Tue Apr 25 12:30:00 2006
Severity: normal | Milestone: 2.1
Priority: normal | Version: 2.1
Owner: anonymous | Reporter: ryanscheuermann
----------------------------+-----------------------------------------------
I posted this in wp-testers but it seems no one reads that list anymore...
Using latest trunk code, BTW.
First off, the paging on the Manage Posts admin page is determined by the
option "posts_per_page" but the results list is hardcoded to show the
Latest 15 posts:
edit.php, line 59:
{{{
wp('what_to_show=posts&posts_per_page=15&posts_per_archive_page=-1');
}}}
So, if I set the "posts_per_page" option to 5 (on Options->Reading) and I
have 15 posts, the Manage Posts page allows me to page through 3 pages:
* the first page contains my latest 15 posts
* the second page (previous) is blank
* the third page (previous) is blank
The other bug is related to [http://trac.wordpress.org/ticket/2578 Ticket
#2578]
If I set "show at most N posts" to 0, the Manage->Posts page now displays
15 posts and this error:
{{{
* Warning*: Division by zero in *wp-includes\template-functions-
links.php* on line *476*
}}}
This is also related to [http://trac.wordpress.org/changeset/3694
Changeset 3694].
--
Ticket URL: <http://trac.wordpress.org/ticket/2693>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list