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

Fixes variable passed by reference strict error on wp.com theme scan.