fix post parent issue and regenrate thumbnail issue
Merge branch 'master' of https://github.com/rtCamp/buddypress-media