[wp-testers] incorrect post counts

Lloyd Budd lloydomattic at gmail.com
Thu Feb 7 21:47:59 GMT 2008


On Feb 7, 2008 1:34 PM, ]V[orlock Zernebock <morlockz at gmail.com> wrote:
> When I run the query directly in MySQL I got the correct number. All my old
> published posts are with that status in MySQL.
>
> Here you have the results to compare against dashboard numbers:
>
> You have 1 posts, 12 pages, 1 draft, contained within 35 categories and 1
> tags.

Interesting results. As those 1s are the first digit in the #...
leaves me wondering. So the next step would be to add debug to the
wp-admin/index.php to see that variables are being assigned the right
value. If they are are, could it be number_format_i18n function? That
is where I would look next.

If you aren't particularly with PHP, the easiest may be to use
trigger_error( [var], E_USER_WARNING ) if you have logging enabled.

Very strange problem,
Lloyd


More information about the wp-testers mailing list