Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix enqueued scripts #816

Merged
merged 1 commit into from
Feb 2, 2021
Merged

Fix enqueued scripts #816

merged 1 commit into from
Feb 2, 2021

Conversation

szepeviktor
Copy link
Contributor

  • deps is an array
  • do not add WP core version to lock.js URL

Description

This is PHPStan Level 5

- deps is an array
- do not add WP core version to lock.js URL
@szepeviktor szepeviktor requested a review from a team as a code owner February 2, 2021 16:21
Copy link
Member

@evansims evansims left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍 Thanks again @szepeviktor

@evansims evansims merged commit 3fa2cc5 into auth0:master Feb 2, 2021
@szepeviktor szepeviktor deleted the patch-1 branch February 2, 2021 16:52
@szepeviktor
Copy link
Contributor Author

You're welcome.

@szepeviktor
Copy link
Contributor Author

[off] @evansims Does it ring any bell?

(new Script($javascriptUrl))->enqueue();
(new Script($javascriptUrl))->setDeps(['inertia'])->setVer(self::SCRIPT_VERSION)->enqueue();

making our daily life OOP :) https://github.com/szepeviktor/SentencePress/blob/main/src/Script.php#L23-L26
Would you like to contribute?

@evansims evansims added this to the 4.2.0 milestone Feb 11, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants