Viewing 1 replies (of 1 total)
  • I was also pleasantly surprised yesterday, when the lost Data.

    That’s the problem:
    after the counter is greater then 999, the numbers is displayed with a (,) separator as: 1,000
    When you update a post/page, this value will be saved. But 1,000 – is not a 1000.

    My solution:
    \wp-content\plugins\page-views-count\classes\class-pvc-metabox.php

    string 58-59
    $total_views = number_format( $view_status->total );
    $today_views = number_format( $view_status->today );

    need to change:
    $total_views = $view_status->total;
    $today_views = $view_status->today;

Viewing 1 replies (of 1 total)
  • The topic ‘Total view get messed when edit the post’ is closed to new replies.