PluginProbe
Elementor Website Builder – more than just a page builder / 4.2.1
Elementor Website Builder – more than just a page builder v4.2.1
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 +11 -7 4.1.34.2.1 View file →
@@ -361,8 +361,12 @@
361 361 *
362 362 * @return bool
363 363 */
364 364 public static function is_plugin_active( $plugin ): bool {
365 + if ( ! function_exists( 'is_plugin_active' ) ) {
366 + require_once ABSPATH . 'wp-admin/includes/plugin.php';
367 + }
368 +
365 369 $plugin = self::ensure_plugin_folder( $plugin );
366 370 return is_plugin_active( $plugin );
367 371 }
368 372
@@ -455,18 +459,18 @@
455 459
456 460 private static function get_all_widget_content( $step, $one_subscription = false ) {
457 461 if ( $one_subscription ) {
458 462 $steps = [
459 - self::INSTALL => esc_html__( 'Want to create an inclusive experience? Install Ally, included in ONE, and add an accessibility widget to your site.', 'elementor' ),
460 - self::ACTIVATE => esc_html__( 'Your ONE subscription includes Ally. Activate it to place an accessibility widget on your site.', 'elementor' ),
461 - self::CONNECT => esc_html__( "Connect the Ally plugin to your account to access all of it's accessibility features.", 'elementor' ),
463 + 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' ),
464 + self::ACTIVATE => esc_html__( 'Your ONE subscription includes Web Accessibility. Activate it to place an accessibility widget on your site.', 'elementor' ),
465 + self::CONNECT => esc_html__( "Connect the Web Accessibility plugin to your account to access all of it's accessibility features.", 'elementor' ),
462 466 self::CUSTOMIZE => esc_html__( "Customize the widget's look, position and the capabilities available for your visitors.", 'elementor' ),
463 467 ];
464 468 } else {
465 469 $steps = [
466 - self::INSTALL => esc_html__( 'Install Ally to add an accessibility widget visitors can use to navigate your site.', 'elementor' ),
467 - self::ACTIVATE => esc_html__( 'Activate the Ally plugin to turn its accessibility features on across your site.', 'elementor' ),
468 - self::CONNECT => esc_html__( "Connect the Ally plugin to your account to access all of it's accessibility features.", 'elementor' ),
470 + self::INSTALL => esc_html__( 'Install Web Accessibility to add an accessibility widget visitors can use to navigate your site.', 'elementor' ),
471 + self::ACTIVATE => esc_html__( 'Activate the Web Accessibility plugin to turn its accessibility features on across your site.', 'elementor' ),
472 + self::CONNECT => esc_html__( "Connect the Web Accessibility plugin to your account to access all of it's accessibility features.", 'elementor' ),
469 473 self::CUSTOMIZE => esc_html__( "Customize the widget's look, position and the capabilities available for your visitors.", 'elementor' ),
470 474 ];
471 475 }
472 476 return $steps[ $step ];
@@ -530,9 +534,9 @@
530 534 $step = self::CUSTOMIZE;
531 535 }
532 536
533 537 $data = [
534 - 'title' => __( 'Ally web accessibility', 'elementor' ),
538 + 'title' => __( 'Web accessibility', 'elementor' ),
535 539 'content' => self::get_all_widget_content( $step, $one_subscription ),
536 540 'action_button' => self::get_ally_cta_button( $step, $one_subscription ),
537 541 ];
538 542