enhance get_raw_post method for 'Edit attachment when edit post #580' feature.
refer:
https://github.com/tapatalk/plugin/issues/580

Signed-off-by: TomWu <phperwuhan@gmail.com>