fix for : CRM-12130

The script files take wrong url because when CRM_Core_Resources::singleton()->addCoreResources(); invokes at line 293 (Wordpress/civicrm.php), which internally calls CRM_Core_Resources::getUrl function which returns blank. Due to this the script file inclusion url is wrong.