• Resolved Eugene

    (@euguk007)


    Hi.

    There’s an obvious discrepancy in the code, which keeps the post-installation message > UsersWP data sync – Users data sync is running in the background. Taking a while? Click here to run it now. < alive at the top of the Dashboard. When the link is clicked, a blank page appears with no action taken.

    Looking at your code, I can see that there is an assumption that the DB prefix is set to wp_. Having changed it to the actual prefix, the message disappeared.

    FILE: class-uwp-background-updater.php
    CODE from Line 29:

        public function __construct() {
            // Uses unique prefix per blog so each blog has separate queue.
            $this->prefix = 'wp_' . get_current_blog_id();
            $this->action = 'uwp_updater';
    
            parent::__construct();
        }

    Hope this helps.

Viewing 1 replies (of 1 total)
  • Hi,

    Thanks for reporting! But that is not used for DB transactions. It is just a prefix for the action name and to make it unique action name we use prefix wp_ with current site ID. This should not affect anything related to functionality.

    Regards,
    Patrik

    • This reply was modified 6 years, 1 month ago by Rahul Gandhi.
Viewing 1 replies (of 1 total)

The topic ‘Discrepancy in UsersWP Data Sync.’ is closed to new replies.