CRM-14127 - CiviCRM WordPress not correctly generating frontend URL

http://issues.civicrm.org/jira/browse/CRM-14127