PluginProbe
Elementor Website Builder – more than just a page builder / 3.35.9
Elementor Website Builder – more than just a page builder v3.35.9
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 | core/utils/hints.php +13 -7 4.2.0-dev23.35.9 View file →
@@ -449,8 +449,14 @@
449 449 return ! empty( get_option( $option_prefix . '_access_token' ) );
450 450 }
451 451
452 452 public static function is_plugin_connected_to_one_subscription(): bool {
453 + $has_one_subscription = Plugin::$instance->experiments->is_feature_active( 'e_editor_one' );
454 +
455 + if ( ! $has_one_subscription ) {
456 + return false;
457 + }
458 +
453 459 return self::is_plugin_connected( 'elementor_one' );
454 460 }
455 461
456 462 private static function get_all_widget_content( $step, $one_subscription = false ) {
@@ -455,18 +461,18 @@
455 461
456 462 private static function get_all_widget_content( $step, $one_subscription = false ) {
457 463 if ( $one_subscription ) {
458 464 $steps = [
459 - self::INSTALL => esc_html__( 'Want to create an inclusive experience? Install Web Accessibility, included in ONE, and add an accessibility widget to your site.', 'elementor' ),
460 - self::ACTIVATE => esc_html__( 'Your ONE subscription includes Web Accessibility. Activate it to place an accessibility widget on your site.', 'elementor' ),
461 - self::CONNECT => esc_html__( "Connect the Web Accessibility plugin to your account to access all of it's accessibility features.", 'elementor' ),
465 + self::INSTALL => esc_html__( 'Want to create an inclusive experience? Install Ally, included in ONE, and add an accessibility widget to your site.', 'elementor' ),
466 + self::ACTIVATE => esc_html__( 'Your ONE subscription includes Ally. Activate it to place an accessibility widget on your site.', 'elementor' ),
467 + self::CONNECT => esc_html__( "Connect the Ally plugin to your account to access all of it's accessibility features.", 'elementor' ),
462 468 self::CUSTOMIZE => esc_html__( "Customize the widget's look, position and the capabilities available for your visitors.", 'elementor' ),
463 469 ];
464 470 } else {
465 471 $steps = [
466 - self::INSTALL => esc_html__( 'Install Web Accessibility to add an accessibility widget visitors can use to navigate your site.', 'elementor' ),
467 - self::ACTIVATE => esc_html__( 'Activate the Web Accessibility plugin to turn its accessibility features on across your site.', 'elementor' ),
468 - self::CONNECT => esc_html__( "Connect the Web Accessibility plugin to your account to access all of it's accessibility features.", 'elementor' ),
472 + self::INSTALL => esc_html__( 'Install Ally to add an accessibility widget visitors can use to navigate your site.', 'elementor' ),
473 + self::ACTIVATE => esc_html__( 'Activate the Ally plugin to turn its accessibility features on across your site.', 'elementor' ),
474 + self::CONNECT => esc_html__( "Connect the Ally plugin to your account to access all of it's accessibility features.", 'elementor' ),
469 475 self::CUSTOMIZE => esc_html__( "Customize the widget's look, position and the capabilities available for your visitors.", 'elementor' ),
470 476 ];
471 477 }
472 478 return $steps[ $step ];
@@ -530,9 +536,9 @@
530 536 $step = self::CUSTOMIZE;
531 537 }
532 538
533 539 $data = [
534 - 'title' => __( 'Web accessibility', 'elementor' ),
540 + 'title' => __( 'Ally web accessibility', 'elementor' ),
535 541 'content' => self::get_all_widget_content( $step, $one_subscription ),
536 542 'action_button' => self::get_ally_cta_button( $step, $one_subscription ),
537 543 ];
538 544