move explode outside array_pop, fixes STRICT errors on wp.com scan