This commit is contained in:
Javier Casares 2026-08-14 07:55:23 +00:00
commit 681147e8e3
11 changed files with 567 additions and 25 deletions

View file

@ -83,7 +83,7 @@ class Robotstxt_Manager_Settings {
array(
'type' => 'string',
'sanitize_callback' => 'esc_url_raw',
'default' => 'https://plugins.robotstxt.es',
'default' => 'https://www.robotstxt.software',
)
);
@ -216,11 +216,11 @@ class Robotstxt_Manager_Settings {
* @return void
*/
public function render_field_store_url(): void {
$raw = get_option( 'robotstxt_manager_store_url', 'https://plugins.robotstxt.es' );
$value = is_string( $raw ) ? $raw : 'https://plugins.robotstxt.es';
$raw = get_option( 'robotstxt_manager_store_url', 'https://www.robotstxt.software' );
$value = is_string( $raw ) ? $raw : 'https://www.robotstxt.software';
printf(
'<input type="url" id="robotstxt_manager_store_url" name="robotstxt_manager_store_url" value="%s" class="regular-text" maxlength="500" placeholder="https://plugins.robotstxt.es" />',
'<input type="url" id="robotstxt_manager_store_url" name="robotstxt_manager_store_url" value="%s" class="regular-text" maxlength="500" placeholder="https://www.robotstxt.software" />',
esc_attr( $value )
);
echo '<p class="description">' . esc_html__( 'Base URL of the remote Plugins Core installation that this site will pull the plugin catalog from.', 'robotstxt-manager' ) . '</p>';