PluginProbe
Elementor Website Builder – more than just a page builder / 3.26.2
Elementor Website Builder – more than just a page builder v3.26.2
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
← All changes | includes/compatibility.php +8 -8 4.2.03.26.2 View file →
@@ -44,9 +44,9 @@
44 44
45 45 add_action( 'elementor/maintenance_mode/mode_changed', [ __CLASS__, 'clear_3rd_party_cache' ] );
46 46
47 47 // Enable floating buttons and link in bio experiment for all.
48 - // TODO Remove in version 3.26.
48 + // TODO Remove in version 3.26
49 49 add_filter( 'pre_option_elementor_experiment-floating-buttons', [ __CLASS__, 'return_active' ] );
50 50 add_filter( 'pre_option_elementor_experiment-link-in-bio', [ __CLASS__, 'return_active' ] );
51 51 }
52 52
@@ -64,9 +64,9 @@
64 64 if ( ! empty( $GLOBALS['wp_fastest_cache'] ) && method_exists( $GLOBALS['wp_fastest_cache'], 'deleteCache' ) ) {
65 65 $GLOBALS['wp_fastest_cache']->deleteCache();
66 66 }
67 67
68 - // WP Super Cache.
68 + // WP Super Cache
69 69 if ( function_exists( 'wp_cache_clean_cache' ) ) {
70 70 global $file_prefix;
71 71 wp_cache_clean_cache( $file_prefix, true );
72 72 }
@@ -87,20 +87,20 @@
87 87 if ( ! User::is_current_user_can_edit_post_type( $typenow ) ) {
88 88 return;
89 89 }
90 90
91 - // Introduced in WP 5.0.
91 + // Introduced in WP 5.0
92 92 if ( function_exists( 'use_block_editor_for_post' ) && ! use_block_editor_for_post( $typenow ) ) {
93 93 return;
94 94 }
95 95
96 - // Deprecated/removed in Gutenberg plugin v5.3.0.
96 + // Deprecated/removed in Gutenberg plugin v5.3.0
97 97 if ( function_exists( 'gutenberg_can_edit_post_type' ) && ! gutenberg_can_edit_post_type( $typenow ) ) {
98 98 return;
99 99 }
100 100
101 101 ?>
102 - <script>
102 + <script type="text/javascript">
103 103 document.addEventListener( 'DOMContentLoaded', function() {
104 104 var dropdown = document.querySelector( '#split-page-title-action .dropdown' );
105 105
106 106 if ( ! dropdown ) {
@@ -213,9 +213,9 @@
213 213 remove_filter( 'pum_admin_var', [ $pum_admin_instance, 'pum_admin_var' ] );
214 214 } );
215 215 }
216 216
217 - // Fix Preview URL for https://github.com/wpmudev/domain-mapping plugin.
217 + // Fix Preview URL for https://github.com/wpmudev/domain-mapping plugin
218 218 if ( class_exists( 'domain_map' ) ) {
219 219 add_filter( 'elementor/document/urls/preview', function( $preview_url ) {
220 220 if ( wp_parse_url( $preview_url, PHP_URL_HOST ) !== Utils::get_super_global_value( $_SERVER, 'HTTP_HOST' ) ) {
221 221 $preview_url = \domain_map::utils()->unswap_url( $preview_url );
@@ -227,9 +227,9 @@
227 227 return $preview_url;
228 228 } );
229 229 }
230 230
231 - // Gutenberg.
231 + // Gutenberg
232 232 if ( function_exists( 'gutenberg_init' ) ) {
233 233 add_action( 'admin_print_scripts-edit.php', [ __CLASS__, 'add_new_button_to_gutenberg' ], 11 );
234 234 }
235 235 }
@@ -249,9 +249,9 @@
249 249 * @access private
250 250 * @static
251 251 */
252 252 private static function polylang_compatibility() {
253 - // Copy elementor data while polylang creates a translation copy.
253 + // Copy elementor data while polylang creates a translation copy
254 254 add_filter( 'pll_copy_post_metas', [ __CLASS__, 'save_polylang_meta' ], 10, 4 );
255 255 }
256 256
257 257 /**