Fixes #108. Incorrect auto publish text and link appears in CMS.

- Prevents 'undefined' from appearing as if auto-publish were enabled.
- Checking zero-length on publishXXX vars alone, isn't enough.
Merge pull request #135 from phptek/issue/108

BUG Fixes #108. Incorrect auto publish text and link appears in CMS.