diff --git a/assets/css/admin.css b/assets/css/admin.css index 71f955b3..6deb6f85 100644 --- a/assets/css/admin.css +++ b/assets/css/admin.css @@ -1,7 +1,7 @@ #adminmenu .toplevel_page_accessibility-settings .wp-menu-image img { - width: 18px; - height: 18px; - padding: 8px 0 0 3px; + width: 20px; + height: 20px; + padding: 7px 0; opacity: 1; filter: none; diff --git a/assets/images/menu-icon-wp.svg b/assets/images/menu-icon-wp.svg new file mode 100644 index 00000000..8b316a10 --- /dev/null +++ b/assets/images/menu-icon-wp.svg @@ -0,0 +1,6 @@ + diff --git a/modules/legacy/components/upgrade.php b/modules/legacy/components/upgrade.php index d445d6bb..296fa9c4 100644 --- a/modules/legacy/components/upgrade.php +++ b/modules/legacy/components/upgrade.php @@ -176,7 +176,7 @@ public function maybe_add_introduction_modal() { >
- + @@ -366,8 +366,8 @@ public function maybe_add_confirmation_modal() { - - + +' . esc_html__( 'Our new, improved accessibility plugin is now available! Web Accessibility is packed with advanced styling options, improved feature controls, and so much more.', 'pojo-accessibility' ) . '
'; + $pointer_content .= '' . esc_html__( 'Our new, improved accessibility plugin is now available! Ally - Web Accessibility by Elementor is packed with advanced styling options, improved feature controls, and so much more.', 'pojo-accessibility' ) . '
'; $pointer_content .= sprintf( '', diff --git a/modules/legacy/notices/dismissible-deprecated-nag.php b/modules/legacy/notices/dismissible-deprecated-nag.php index a95a3807..10156a8f 100644 --- a/modules/legacy/notices/dismissible-deprecated-nag.php +++ b/modules/legacy/notices/dismissible-deprecated-nag.php @@ -27,11 +27,11 @@ public function maybe_add_nag_deprecation_notice() { public function content(): string { return sprintf( '%s %s
', - esc_html__( 'Time to take your site’s accessibility to the next level with Web Accessibility, our newest plugin packed with advanced widget customization, flexible feature controls, and a built-in statement generator. Want more details before switching?', 'pojo-accessibility' ), + esc_html__( 'Time to take your site’s accessibility to the next level with Ally - Web Accessibility by Elementor, our newest plugin packed with advanced widget customization, flexible feature controls, and a built-in statement generator. Want more details before switching?', 'pojo-accessibility' ), esc_attr( Upgrade::get_learn_more_link( 'acc-notice-switch-dash' ) ), esc_html__( 'Learn more', 'pojo-accessibility' ), esc_attr( Upgrade::get_switch_now_link() ), - esc_html__( 'Switch To Web Accessibility', 'pojo-accessibility' ) + esc_html__( 'Switch To Ally - Web Accessibility by Elementor', 'pojo-accessibility' ) ); } diff --git a/modules/legacy/notices/sticky-deprecated-nag.php b/modules/legacy/notices/sticky-deprecated-nag.php index 58d88194..3f7d4846 100644 --- a/modules/legacy/notices/sticky-deprecated-nag.php +++ b/modules/legacy/notices/sticky-deprecated-nag.php @@ -22,11 +22,11 @@ class Sticky_Deprecated_Nag extends Notice_Base { public function content(): string { return sprintf( '%s%s
', __( 'New accessibility plugin available!', 'pojo-accessibility' ), - __( 'Your current plugin is no longer supported. Switch to Web Accessibility by Elementor now to access more customization, control, and tools for a more inclusive site.', 'pojo-accessibility' ), + __( 'Your current plugin is no longer supported. Switch to Ally - Web Accessibility by Elementor now to access more customization, control, and tools for a more inclusive site.', 'pojo-accessibility' ), Upgrade::get_learn_more_link( 'acc-notice-switch-oc' ), // link to learn more __( 'Learn More', 'pojo-accessibility' ), Upgrade::get_switch_now_link(), // link to switch now - __( 'Switch Web Accessibility', 'pojo-accessibility' ) + __( 'Switch Ally - Web Accessibility by Elementor', 'pojo-accessibility' ) ); } diff --git a/modules/settings/assets/js/app.js b/modules/settings/assets/js/app.js index 4ab78f37..99162f87 100644 --- a/modules/settings/assets/js/app.js +++ b/modules/settings/assets/js/app.js @@ -51,9 +51,9 @@ const App = () => { }); }, []); - const selectedParent = MenuItems[selectedMenu.parent]; - const selectedChild = selectedMenu.child - ? selectedParent.children[selectedMenu.child] + const selectedParent = MenuItems[selectedMenu?.parent]; + const selectedChild = selectedMenu?.child + ? selectedParent?.children[selectedMenu?.child] : null; return ( @@ -69,7 +69,7 @@ const App = () => {' . esc_html__( "Start setting up and customizing your site's accessibility widget.", 'pojo-accessibility' ) . '
'; $pointer_content .= sprintf( diff --git a/modules/settings/module.php b/modules/settings/module.php index 64ca95e0..2bc85b30 100644 --- a/modules/settings/module.php +++ b/modules/settings/module.php @@ -1,5 +1,4 @@