This commit is contained in:
Javier Casares 2026-08-17 18:34:57 +00:00
commit b9029e62fe
14 changed files with 1750 additions and 946 deletions

View file

@ -31,6 +31,22 @@ $page_url = admin_url( 'options-general.php?page=robotstxt-og-settings' );
<?php settings_errors( 'robotstxt_og_messages' ); ?>
<?php if ( ! Robotstxt_OG_Manager_Notice::is_manager_active() ) : ?>
<div class="notice notice-warning">
<p>
<?php
echo wp_kses_post(
sprintf(
/* translators: %s: Manager (by ROBOTSTXT) plugin page URL. */
__( 'To receive plugin updates, the <a href="%s">Manager (by ROBOTSTXT)</a> plugin must be installed and active.', 'robotstxt-og' ),
esc_url( Robotstxt_OG_Manager_Notice::MANAGER_URL )
)
);
?>
</p>
</div>
<?php endif; ?>
<nav class="nav-tab-wrapper" aria-label="<?php esc_attr_e( 'Settings tabs', 'robotstxt-og' ); ?>">
<a href="<?php echo esc_url( add_query_arg( 'tab', 'settings', $page_url ) ); ?>"
class="nav-tab <?php echo 'settings' === $active_tab ? 'nav-tab-active' : ''; ?>">