Work-around for fatal error caused by other plugins doing front-end post...

... updates without loading all the needed WP files

Related issues: #1042, #1032, #822, #692, #148