reverts commit for 6481 which broke everything.

adds fixes for blank titles on wp-generated pages.