This commit is contained in:
Javier Casares 2026-08-18 10:48:13 +00:00
commit 5589c54b9b
13 changed files with 138 additions and 58 deletions

View file

@ -12,9 +12,9 @@ if ( ! defined( 'ABSPATH' ) ) {
<div class="wrap">
<h1><?php esc_html_e( 'Manager (by ROBOTSTXT) — Settings', 'robotstxt-manager' ); ?></h1>
<?php settings_errors(); ?>
<form method="post" action="<?php echo esc_url( admin_url( 'options.php' ) ); ?>">
<form method="post" action="">
<?php
settings_fields( Robotstxt_Manager_Settings::OPTION_GROUP );
wp_nonce_field( 'robotstxt_manager_settings_group', 'robotstxt_manager_settings_group_nonce' );
do_settings_sections( Robotstxt_Manager_Settings::PAGE_SLUG );
submit_button();
?>