Closed marian-kadanka closed 5 months ago
class-typography.php
This pull request introduces a modification on how certain conditions are checked in the register_columns_gap
method. Initially, there was a condition to verify if DOM optimization is active, and if not, a specific class was added. However, this checking process is now integrated into another validating step that checks the Elementor version. By relocating these conditions, we aim to improve the readability of the code and make the evaluation process more streamlined. This could potentially increase efficiency and maintainability of the code, without having an impact on the existing functionality.@marian-kadanka Thanks!
@lushkant I have added this in the milestone!
Looks good to me 👍 Thank you @marian-kadanka!
Since Elementor 3.19, DOM optimization is always active. So don't rely on old conditional checks, just bypass them completely if Elementor version is 3.19 or greater.
See https://developers.elementor.com/elementor-3-19-developers-update/#:~:text=Experiments%20and%20Features for reference.