[wp-testers] incorrect post counts

Matt speedboxer at gmail.com
Fri Feb 8 01:08:55 GMT 2008


What version of PHP and MySQL are you running?

On Feb 7, 2008 2:04 PM, ]V[orlock Zernebock <morlockz at gmail.com> wrote:

> Could you explain what I have to do? Some examples would be enough
>
> 2008/2/7, Lloyd Budd <lloydomattic at gmail.com>:
> >
>  > 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
> > _______________________________________________
> > wp-testers mailing list
> > wp-testers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-testers
> >
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>



-- 
Matt (speedboxer at gmail.com)
http://mattsblog.ca/


More information about the wp-testers mailing list