An attempt to appease PHP 5.2 regarding string offsets.

As introduced in [9219].

See #6045.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@9220 cdf35c40-ae34-48e0-9cc9-0c9da1808c22