[wp-testers] Paging broken on Manage Posts and also affects Ticket
#2578
Ryan Scheuermann
ryan at concept64.com
Sat Apr 22 16:55:05 GMT 2006
Couple of related bugs using the latest trunk code...
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 Ticket #2578 - Setting "Show at most N
posts" to 0 appears to break Page display (with a 404)
If I set the "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*
+1 for not allowing this setting to be 0
Ryan, this is related to Changeset 3694 ... I didn't quite know how to
submit a Trac ticket for this issue since it's an issue in multiple
places...
Ryan Scheuermann
--
----
Concept 64, Inc. | Phone: 610.349.0703 | Web: www.concept64.com
More information about the wp-testers
mailing list