Fix undefined variable warning

Fix #24
Reset post data

Fix #25
Bump up version to v3.1.3 for release
Regenerate pot file for v3.1.3