Skip to content

Commit

Permalink
remove AIO SEO notices
Browse files Browse the repository at this point in the history
  • Loading branch information
nextgenthemes committed Jan 15, 2025
1 parent 058caa5 commit 42b52a4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 41 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
* [ARVE Pro changelog](https://nextgenthemes.com/plugins/arve-pro/#changelog)
* [ARVE Random Videos changelog](https://nextgenthemes.com/plugins/arve-random-video/#changelog)

### 2024-01-15 10.5.4 ###

* Improved: Removed incompatibility notices for AIO SEO Pack (resolved).

### 2024-01-11 10.5.3 ###

* Fix: Fixed, improved and restored Shortcode UI functionality.
Expand Down
20 changes: 0 additions & 20 deletions php/Admin/fn-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,26 +169,6 @@ function action_admin_init_setup_messages(): void {
)
);
}

if ( is_plugin_active( 'all-in-one-seo-pack/all_in_one_seo_pack.php' )
&& ! is_gutenberg()
) {
Notices::instance()->register_notice(
'aio-seo-notice',
'notice-info',
sprintf(
kses_https_links(
// Translators: %s URL
__(
'There is compatibility issue with All In One SEO Pack effecting ARVE. With the AIO-SEO plugin active the "Embed Video (ARVE)" button will not work in Classic Editor. Please contact the AIO-SEO plugin <a href="%1$s">support</a> / <a href="%2$s">support for pro users</a> if they can fix this issue.',
'advanced-responsive-video-embedder'
),
),
'https://wordpress.org/support/plugin/all-in-one-seo-pack/#new-topic-0',
'https://aioseo.com/login/?redirect_to=%2Faccount%2Fsupport%2F'
)
);
}
}

function get_latest_beta(): string {
Expand Down
22 changes: 1 addition & 21 deletions vendor/nextgenthemes/wp-shared/includes/WP/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -337,27 +337,7 @@ class="wrap wrap--nextgenthemes"
);
?>
>
<h2><?php echo esc_html( get_admin_page_title() ); ?></h2>

<?php if ( is_plugin_active( 'all-in-one-seo-pack/all_in_one_seo_pack.php' ) ) : ?>
<p class="ngt-sidebar-box">
<strong>
<?php
printf(
kses_https_link(
// translators: %1$s and %2$s are links
__(
'There is a compatibility issue with the All in One SEO Pack plugin that prevents this settings page from working. Please deactivate All in One SEO Pack temporarily to make ARVE Settings and contact their <a href="%1$s">support</a> / <a href="%2$s">support for pro users</a> to ask them if they can resolve this issue.',
'advanced-responsive-video-embedder'
),
),
'https://wordpress.org/support/plugin/all-in-one-seo-pack/#new-topic-0',
'https://aioseo.com/login/?redirect_to=%2Faccount%2Fsupport%2F'
);
?>
</strong>
</p>
<?php endif; ?>
<h2><?= esc_html( get_admin_page_title() ); ?></h2>

<h2 class="nav-tab-wrapper">
<?php foreach ( $sections_camel_keys as $k => $v ) : ?>
Expand Down

0 comments on commit 42b52a4

Please sign in to comment.