WordPress Userpro Performance Fix

Userpro Plugin could dramatically slow down your site through it's update check routine. Fortunately, there is an easy hotfix for that issue:

Open file /wp-content/plugins/userpro/index.php

search for function userpro_check_update and either comment out whole content of that function (making it a dummy function without use) or replace the following code

        $UpdateFile =  file_get_contents( 'http://userproplugin.com/userpro/userpro_notifier.xml', $ctx);

to reduce timeout to 1 second with the following snippet:

        $ctx = stream_context_create(array(
            'http' => array(
                'timeout' => 1
        $UpdateFile =  file_get_contents( 'http://userproplugin.com/userpro/userpro_notifier.xml', $ctx);

You have to repeat this on every update of Userpro.

Antwort hinzufügen

Dein Name:

bold italic underlined line-through insert-url insert-image quote code indent align-left align-right align-center align-justify insert-email spoiler BBCode Hilfe

editor-maximize editor-minimize mark manage-attachments clear-textarea process-stop

Smileys deaktivieren?

Spam Protection

Sie sind nicht eingeloggt.