Opened 22 years ago
Closed 21 years ago
#990 closed defect (bug) (fixed)
posts_nav_links() does wrong page count
| Reported by: | anonymousbugger | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 1.5 |
| Severity: | minor | Keywords: | |
| Cc: | Focuses: |
Description
in lines 455 and 495 of template-functions-links.php
that:
$numposts = $wpdb->get_var(âSELECT COUNT(ID) FROM $fromwhereâ);
has to be changed:
$numposts = $wpdb->get_var(âSELECT COUNT( DISTINCT ID) FROM $fromwhereâ);
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
patch for 1.5.1-alpha svn revision 2394 attached