PluginProbe
Elementor Website Builder – more than just a page builder / 3.1.0-dev2
Elementor Website Builder – more than just a page builder v3.1.0-dev2
4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.3.0-beta3 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 All 457 releases
← All changes | includes/settings/settings.php +4 -35 3.1.0-dev1 → 3.1.0-dev2 View file →
@@ -327,9 +327,9 @@
327 327 public function elementor_popups() {
328 328 ?>
329 329 <div class="wrap">
330 330 <div class="elementor-blank_state">
331 - <i class="eicon-nerd-chuckle"></i>
331 + <img src="<?php echo ELEMENTOR_ASSETS_URL . 'images/go-pro-wp-dashboard.svg'; ?>" />
332 332 <h2><?php echo __( 'Get Popup Builder', 'elementor' ); ?></h2>
333 333 <p><?php echo __( 'Popup Builder lets you take advantage of all the amazing features in Elementor, so you can build beautiful & highly converting popups. Go pro and start designing your popups today.', 'elementor' ); ?></p>
334 334 <a class="elementor-button elementor-button-default elementor-button-go-pro" target="_blank" href="<?php echo Utils::get_pro_link( 'https://elementor.com/popup-builder/?utm_source=popup-templates&utm_campaign=gopro&utm_medium=wp-dash' ); ?>"><?php echo __( 'Go Pro', 'elementor' ); ?></a>
335 335 </div>
@@ -363,15 +363,9 @@
363 363 * @since 1.0.0
364 364 * @access public
365 365 */
366 366 public function admin_menu_change_name() {
367 - global $submenu;
368 -
369 - if ( isset( $submenu['elementor'] ) ) {
370 - // @codingStandardsIgnoreStart
371 - $submenu['elementor'][0][0] = __( 'Settings', 'elementor' );
372 - // @codingStandardsIgnoreEnd
373 - }
367 + Utils::change_submenu_first_item_label( 'elementor', __( 'Settings', 'elementor' ) );
374 368 }
375 369
376 370 /**
377 371 * Update CSS print method.
@@ -443,20 +437,9 @@
443 437 ],
444 438 ],
445 439 'usage' => [
446 440 'label' => __( 'Improve Elementor', 'elementor' ),
447 - 'fields' => [
448 - 'allow_tracking' => [
449 - 'label' => __( 'Usage Data Sharing', 'elementor' ),
450 - 'field_args' => [
451 - 'type' => 'checkbox',
452 - 'value' => 'yes',
453 - 'default' => '',
454 - 'sub_desc' => __( 'Become a super contributor by opting in to share non-sensitive plugin data and to receive periodic email updates from us.', 'elementor' ) . sprintf( ' <a href="%1$s" target="_blank">%2$s</a>', 'https://go.elementor.com/usage-data-tracking/', __( 'Learn more.', 'elementor' ) ),
455 - ],
456 - 'setting_args' => [ __NAMESPACE__ . '\Tracker', 'check_for_settings_optin' ],
457 - ],
458 - ],
441 + 'fields' => $this->get_usage_fields(),
459 442 ],
460 443 ],
461 444 ],
462 445 self::TAB_STYLE => [
@@ -467,9 +450,9 @@
467 450 'notice' => [
468 451 'label' => __( 'Looking for the Style settings?', 'elementor' ),
469 452 'field_args' => [
470 453 'type' => 'raw_html',
471 - 'html' => __( 'The Style settings changed its location and can now be found within Elementor Editor\'s <b>Settings Panel > Hamburger Menu > Site Settings</b>.<br>You can use the Global Manager to make changes and see them live!', 'elementor' ) . sprintf( ' <a target="_blank" href="http://go.elementor.com/panel-layout-settings">%s</a>', __( 'Learn More', 'elementor' ) ),
454 + 'html' => __( 'The Style settings changed its location and can now be found within Elementor Editor\'s <b>Panel > Hamburger Menu > Site Settings</b>.<br>You can use the Site Settings to make changes and see them live!', 'elementor' ) . sprintf( ' <a target="_blank" href="http://go.elementor.com/panel-layout-settings">%s</a>', __( 'Learn More', 'elementor' ) ),
472 455 ],
473 456 ],
474 457 ],
475 458 ],
@@ -518,21 +501,8 @@
518 501 ],
519 502 'desc' => __( 'Please note! Allowing uploads of any files (SVG & JSON included) is a potential security risk.', 'elementor' ) . '<br>' . __( 'Elementor will try to sanitize the unfiltered files, removing potential malicious code and scripts.', 'elementor' ) . '<br>' . __( 'We recommend you only enable this feature if you understand the security risks involved.', 'elementor' ),
520 503 ],
521 504 ],
522 - 'optimized_dom_output' => [
523 - 'label' => __( 'Optimized DOM Output', 'elementor' ),
524 - 'field_args' => [
525 - 'type' => 'select',
526 - 'options' => [
527 - '' => __( 'Default', 'elementor' ),
528 - 'enabled' => __( 'Enable', 'elementor' ),
529 - 'disabled' => __( 'Disable', 'elementor' ),
530 - ],
531 - 'desc' => __( 'Developers, Please Note! If you\'ve used custom code in Elementor, you might have experienced a snippet of code not running. Legacy DOM Output allows you to keep prior Elementor markup output settings, and have that lovely code running again.', 'elementor' )
532 - . '<a href="https://go.elementor.com/wp-dash-legacy-optimized-dom" target="_blank"> ' . __( 'Learn More', 'elementor' ) . '</a>',
533 - ],
534 - ],
535 505 ],
536 506 ],
537 507 ],
538 508 ],
@@ -596,9 +566,8 @@
596 566 $css_settings = [
597 567 'elementor_disable_color_schemes',
598 568 'elementor_disable_typography_schemes',
599 569 'elementor_css_print_method',
600 - 'elementor_optimized_dom_output',
601 570 ];
602 571
603 572 foreach ( $css_settings as $option_name ) {
604 573 add_action( "add_option_{$option_name}", $clear_cache_callback );