patch for jquery url validator working
This commit is contained in:
@@ -195,10 +195,7 @@ class PLGNTLS_class
|
||||
global $wp_scripts;
|
||||
$already_enqueued = array_search($file->handle, $wp_scripts->queue);
|
||||
if ($already_enqueued !== false)
|
||||
{
|
||||
error_log("double !");
|
||||
return null;
|
||||
}
|
||||
}
|
||||
else if ($file->ext === "css")
|
||||
{
|
||||
@@ -241,8 +238,6 @@ class PLGNTLS_class
|
||||
|
||||
$file->basename = pathinfo($file_name, PATHINFO_BASENAME);
|
||||
$file->handle = "PLGNTLS_" . str_replace(".", "_", $file->basename);
|
||||
error_log("in init file->handle");
|
||||
error_log(json_encode($file->handle));
|
||||
|
||||
$file->url = $this->get_url().$file_name;
|
||||
$file->path = $this->get_path().$file_name;
|
||||
|
||||
Reference in New Issue
Block a user