Fix For New Post Front-End Editing (line#56)

I kept getting this error when I tried to add a new post when using the Wordpress Front End Editing plugin: 'Catchable fatal error: Object of class WP_Error could not be converted to string.' the new code snippet in line#56 fixes this issue. Special Thanks to: Joenathan (Macmend) http://goo.gl/5NONNH (5th post from the top)