added missing functions that were causing wp-admin to hang on mediatemple