Revert "Modified newpost functionality."

This reverts commit 84120cda38fa683ef7eecbf647634d49e29118eb.