v1.2.1
This commit is contained in:
parent
3bb9ed33e1
commit
b9029e62fe
14 changed files with 1750 additions and 946 deletions
|
|
@ -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' : ''; ?>">
|
||||
|
|
|
|||
Loading…
Reference in a new issue