Fixes #1050 if edit a post with admin that post changed to unapproved
Merge pull request #1103 from Sama34/fix-1050

Fixes #1050 if edit a post with admin that post changed to unapproved