Change default country to US
This commit is contained in:
@@ -196,7 +196,7 @@ class SP_Admin_Welcome {
|
|||||||
<form method="post" id="mainform" action="" enctype="multipart/form-data">
|
<form method="post" id="mainform" action="" enctype="multipart/form-data">
|
||||||
<h4><?php _e( 'Base Location', 'sportspress' ); ?></h4>
|
<h4><?php _e( 'Base Location', 'sportspress' ); ?></h4>
|
||||||
<?php
|
<?php
|
||||||
$selected = (string) get_option( 'sportspress_default_country', 'AU' );
|
$selected = (string) get_option( 'sportspress_default_country', 'US' );
|
||||||
$continents = SP()->countries->continents;
|
$continents = SP()->countries->continents;
|
||||||
?>
|
?>
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ class SP_Settings_General extends SP_Settings_Page {
|
|||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function country_setting() {
|
public function country_setting() {
|
||||||
$selected = (string) get_option( 'sportspress_default_country', 'AU' );
|
$selected = (string) get_option( 'sportspress_default_country', 'US' );
|
||||||
$continents = SP()->countries->continents;
|
$continents = SP()->countries->continents;
|
||||||
?>
|
?>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
|
|||||||
Reference in New Issue
Block a user