CRM-14127 - CiviCRM WordPress not correctly generating frontend URL

http://issues.civicrm.org/jira/browse/CRM-14127
Merge pull request #2410 from dlobo/CRM-14127

CRM-14127 - CiviCRM WordPress not correctly generating frontend URL