fix for : CRM-12130

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