*/
function __construct() {}
- function WP_Importer() {
- $this->__construct();
- }
-
/**
* Returns array with imported permalinks from WordPress database
*
exit();
}
$blog_id = (int) $blog->blog_id;
- // Restore global $current_blog
- global $current_blog;
- $current_blog = $blog;
}
if ( function_exists( 'is_multisite' ) ) {
* @return bool
*/
function is_user_over_quota() {
- global $current_blog;
-
if ( function_exists( 'upload_is_user_over_quota' ) ) {
if ( upload_is_user_over_quota( 1 ) ) {
echo "Sorry, you have used your upload quota.\n";