function gluu_load() { load_plugin_textdomain('go-live-update-urls', false, 'go-live-update-urls/languages'); GoLiveUpdateUrls::init(); //backward compatibility global $GoLiveUpdateUrls; $GoLiveUpdateUrls = GoLiveUpdateUrls::get_instance(); }
<?php /** * Main Admin screen view * * @author Mat Lipe * * @uses may be overridden in your theme by putting a copy of this file inside a go-live-update-urls folder */ $gluu = GoLiveUpdateUrls::get_instance(); ?> <div id="gluu" class="wrap"> <h2>Go Live Update Urls</h2> <p class="description"> <?php printf(_x('This will replace all occurrences %sin the entire database%s of the Old URL with the New URL.', '{<strong>}', '{/strong}', 'go-live-update-urls'), '<strong>', '</strong>'); ?> </p> <strong> <em style="color:red"> <?php _e("Like any other database updating tool, you should always perform a backup before running.", 'go-live-update-urls'); ?> </em> </strong> <hr /> <form method="post" id="gluu-checkbox-form"> <?php