v0.3.1
This commit is contained in:
parent
65a00cf6ab
commit
681147e8e3
11 changed files with 567 additions and 25 deletions
|
|
@ -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>';
|
||||
|
|
|
|||
Loading…
Reference in a new issue