function _comicpress_pre_handle_comic_path_results($return, $results, $type, $post_to_use) { global $wpmu_version; if (!empty($wpmu_version)) { $globals = ComicPressMediaHandling::_bundle_global_variables(); $comic = $globals[$type] . '/' . basename(reset($results)); if (($wpmu_path = get_option('upload_path')) !== false) { $comic = str_replace($wpmu_path, "files", $comic); } return $comic; } return false; }