Make sure $args is an array before treating it as such. fixes #25151 for 3.6.
Built from https://develop.svn.wordpress.org/branches/3.6@25152


git-svn-id: http://core.svn.wordpress.org/branches/3.6@25131 1a063a9b-81f0-0310-95a4-ce76da25c4cd