Revert "Only localize scripts once"#2268
Conversation
WalkthroughThe pull request removes the static property used for tracking localized script locations from the Changes
Possibly related PRs
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
💤 Files with no reviewable changes (1)
🚧 Files skipped from review as they are similar to previous changes (3)
⏰ Context from checks skipped due to timeout of 90000ms (3)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
.github/workflows/phpunit.ymlis excluded by!**/*.yml
📒 Files selected for processing (1)
classes/helpers/FrmFormTemplatesHelper.php(1 hunks)
🧰 Additional context used
🪛 GitHub Actions: Inspections
classes/helpers/FrmFormTemplatesHelper.php
[error] 43-43: Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
⏰ Context from checks skipped due to timeout of 90000ms (4)
- GitHub Check: Cypress
- GitHub Check: Run PHP Syntax inspection (8.3)
- GitHub Check: PHP 8 tests in WP trunk
- GitHub Check: PHP 7.4 tests in WP trunk
🔇 Additional comments (1)
classes/helpers/FrmFormTemplatesHelper.php (1)
42-43: The changes correctly include plan requirements in template link generation.The addition of the
$plan_requiredvariable and including it in thecompact()function call ensures that the template installation link has access to all necessary plan information. This change is part of the revert aimed at resolving the issue wherefrm_jswas not being defined.🧰 Tools
🪛 GitHub Actions: Inspections
[error] 43-43: Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space (Generic.Formatting.MultipleStatementAlignment.NotSameWarning)
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2268 +/- ##
============================================
+ Coverage 26.84% 26.93% +0.08%
- Complexity 8359 8373 +14
============================================
Files 129 132 +3
Lines 27615 27779 +164
============================================
+ Hits 7412 7481 +69
- Misses 20203 20298 +95 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Reverts #2260
It looks like
frm_jsis not getting defined. It's causing issues with the datepicker update.I'm going to just revert this for now so it doesn't introduce issues with today's release.