DEV: Remove 6-yrs old deprecated loadScript opt (#17463)

This commit is contained in:
Jarek Radosz 2022-07-13 12:32:35 +02:00 committed by GitHub
parent ee07f6da7d
commit 32c4603dd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -48,11 +48,6 @@ export function loadCSS(url) {
} }
export default function loadScript(url, opts = {}) { export default function loadScript(url, opts = {}) {
// TODO: Remove this once plugins have been updated not to use it:
if (url === "defer/html-sanitizer-bundle") {
return Promise.resolve();
}
if (_loaded[url]) { if (_loaded[url]) {
return Promise.resolve(); return Promise.resolve();
} }