fix php warnings when wp_capabilities comes back as a string