PluginProbe
Elementor Website Builder – more than just a page builder / 3.26.4
Elementor Website Builder – more than just a page builder v3.26.4
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/settings/settings-page.php +10 -6 4.2.0-dev23.26.4 View file →
@@ -84,9 +84,13 @@
84 84 *
85 85 * @return string Settings tab URL.
86 86 */
87 87 final public static function get_settings_tab_url( $tab_id ): string {
88 - return admin_url( "admin.php?page=elementor-settings#tab-$tab_id" );
88 + $settings_page_id = Plugin::$instance->experiments->is_feature_active( 'home_screen' )
89 + ? 'elementor-settings'
90 + : 'elementor';
91 +
92 + return admin_url( "admin.php?page=$settings_page_id#tab-$tab_id" );
89 93 }
90 94
91 95 /**
92 96 * Settings page constructor.
@@ -378,9 +382,9 @@
378 382
379 383 echo '</div>';
380 384 }
381 385
382 - submit_button( __( 'Save Changes', 'elementor' ), 'primary', 'submit', true, [ 'data-id' => 'elementor-settings-button-save-changes' ] );
386 + submit_button();
383 387 ?>
384 388 </form>
385 389 </div><!-- /.wrap -->
386 390 <?php
@@ -388,9 +392,9 @@
388 392
389 393 public function get_usage_fields() {
390 394 return [
391 395 'allow_tracking' => [
392 - 'label' => esc_html__( 'Data Sharing', 'elementor' ),
396 + 'label' => esc_html__( 'Usage Data Sharing', 'elementor' ),
393 397 'field_args' => [
394 398 'type' => 'checkbox',
395 399 'value' => 'yes',
396 400 'default' => '',
@@ -395,9 +399,9 @@
395 399 'value' => 'yes',
396 400 'default' => '',
397 401 'sub_desc' => sprintf(
398 402 '%1$s <a href="https://go.elementor.com/usage-data-tracking/" target="_blank">%2$s</a>',
399 - esc_html__( 'Become a super contributor by helping us understand how you use our service to enhance your experience and improve our product.', 'elementor' ),
403 + esc_html__( 'Become a super contributor by opting in to share non-sensitive plugin data and to receive periodic email updates from us.', 'elementor' ),
400 404 esc_html__( 'Learn more', 'elementor' )
401 405 ),
402 406 ],
403 407 'setting_args' => [ __NAMESPACE__ . '\Tracker', 'check_for_settings_optin' ],
@@ -437,9 +441,9 @@
437 441
438 442 /**
439 443 * Should it render the settings tab
440 444 *
441 - * @param array $tab
445 + * @param $tab
442 446 *
443 447 * @return bool
444 448 */
445 449 private function should_render_tab( $tab ) {
@@ -449,9 +453,9 @@
449 453
450 454 /**
451 455 * Should it render the settings section
452 456 *
453 - * @param array $section
457 + * @param $section
454 458 *
455 459 * Since 3.19.0
456 460 *
457 461 * @return bool