Linux webm002.cluster126.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
/
home
/
ariannadhf
/
www
/
wp-content
/
plugins
/
xml-sitemap-feed
/
inc
/
compat
/
/home/ariannadhf/www/wp-content/plugins/xml-sitemap-feed/inc/compat/class-catch-box-pro.php
<?php /** * Catch Box Pro compatibility * * @package XML Sitemap & Google News */ namespace XMLSF\Compat; /** * Class */ class Catch_Box_Pro { /** * Admin notices. */ public static function admin_notices() { if ( ! \current_user_can( 'manage_options' ) || ! \catchbox_is_feed_url_present( null ) ) { return; } if ( \XMLSF\sitemaps_enabled( 'sitemap-news' ) || ( \XMLSF\sitemaps_enabled( 'sitemap' ) && 'plugin' === \xmlsf()->sitemap->server_type ) ) { ?> <div class="notice notice-error fade is-dismissible"> <p> <?php \printf( /* Translators: Feed Redirect URL (Theme option name), Plugn name, Theme Options, Customizer (linked to Customizer page) */ \esc_html__( 'The Catch Box theme option %1$s is not compatible with %2$s. Please go to %3$s in the %4$s and remove it.', 'xml-sitemap-feed' ), '<strong>' . \esc_html__( 'Feed Redirect URL', 'catch-box' ) . '</strong>', \esc_html__( 'XML Sitemap & Google News', 'xml-sitemap-feed' ), '<strong>' . \esc_html__( 'Theme Options', 'catch-box' ) . '</strong>', '<a href="' . \esc_url( \admin_url( 'customize.php' ) ) . '" target="_blank">' . \esc_html( \translate( 'Customizer' ) ) . '</a>' // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction ); ?> </p> </div> <?php } } }