Minor - Adding status.
Minor - Using api_is_multiple_url_enabled()
Replacing split() with explode().
Minor - fixing PHP warnings.
Minor - format code.