Skip to content

Remove unused everblock slider assets#886

Merged
CySSoO merged 1 commit intomasterfrom
cyssoo/remove-unused-everblock-slider.js-and-css
Jan 29, 2026
Merged

Remove unused everblock slider assets#886
CySSoO merged 1 commit intomasterfrom
cyssoo/remove-unused-everblock-slider.js-and-css

Conversation

@CySSoO
Copy link
Contributor

@CySSoO CySSoO commented Jan 29, 2026

Motivation

  • The slider implementation is no longer used, so its JavaScript and related CSS can be removed to reduce bundle size and maintenance surface.
  • The slider asset should be removed from the allowed file list and not registered by the module to avoid loading dead code.

Description

  • Deleted the unused views/js/everblock-slider.js file and removed its code from the project.
  • Removed the runtime registration of the slider script in everblock.php so the module no longer enqueues views/js/everblock-slider.js.
  • Removed the slider-specific CSS rules from views/css/everblock.css to eliminate unused styles.
  • Removed the views/js/everblock-slider.js entry from config/allowed_files.php and verified no remaining in-code references to the slider classes or file paths.

Testing

  • No automated tests were executed for this change.

Codex Task

@CySSoO CySSoO merged commit 5deb88a into master Jan 29, 2026
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant