Fix installation error
This commit is contained in:
@@ -128,7 +128,7 @@ class SP_Install {
|
|||||||
// Configure default sport
|
// Configure default sport
|
||||||
$sport = 'soccer';
|
$sport = 'soccer';
|
||||||
$options = sp_get_sport_presets();
|
$options = sp_get_sport_presets();
|
||||||
SP_Settings_Config::configure_sport( $options[ $sport ] );
|
SP_Admin_Settings::configure_sport( $options[ $sport ] );
|
||||||
update_option( 'sportspress_sport', $sport );
|
update_option( 'sportspress_sport', $sport );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
34
readme.txt
34
readme.txt
@@ -4,7 +4,7 @@ Tags: sports, press, sports journalism, teams, team management, fixtures, result
|
|||||||
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=support@themeboy.com&item_name=Donation+for+SportsPress
|
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=support@themeboy.com&item_name=Donation+for+SportsPress
|
||||||
Requires at least: 3.8
|
Requires at least: 3.8
|
||||||
Tested up to: 3.8.1
|
Tested up to: 3.8.1
|
||||||
Stable tag: 0.7
|
Stable tag: 0.7.2
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
||||||
|
|
||||||
@@ -79,9 +79,20 @@ Automatic updates should work like a charm; as always though, ensure you backup
|
|||||||
|
|
||||||
If on the off-chance you do encounter issues with the event/team/player/staff pages after an update you simply need to flush the permalinks by going to WordPress > Settings > Permalinks and hitting 'save'. That should return things to normal.
|
If on the off-chance you do encounter issues with the event/team/player/staff pages after an update you simply need to flush the permalinks by going to WordPress > Settings > Permalinks and hitting 'save'. That should return things to normal.
|
||||||
|
|
||||||
== Configuration ==
|
== Screenshots ==
|
||||||
|
|
||||||
= Sport =
|
1. League Table in Twenty Fourteen theme.
|
||||||
|
2. Events List in Twenty Fourteen theme.
|
||||||
|
3. Events Calendar in Twenty Fourteen theme.
|
||||||
|
4. Player List in Twenty Fourteen theme.
|
||||||
|
5. League Table column configuration.
|
||||||
|
6. General Options page.
|
||||||
|
7. Player List widget settings.
|
||||||
|
8. SportsPress Status dashboard widget.
|
||||||
|
|
||||||
|
== Other Notes ==
|
||||||
|
|
||||||
|
= Sport Presets =
|
||||||
|
|
||||||
SportsPress comes with settings for some sports that you can apply by going to WordPress > Settings > SportsPress. By selecting a sport, presets will be applied to Events, League Tables, and Players.
|
SportsPress comes with settings for some sports that you can apply by going to WordPress > Settings > SportsPress. By selecting a sport, presets will be applied to Events, League Tables, and Players.
|
||||||
|
|
||||||
@@ -148,19 +159,14 @@ SportsPress is currently in beta and is undergoing testing. We are still activel
|
|||||||
|
|
||||||
Yes, CSV importers are included with the plugin. Go to Tools > Import and choose from one of the SportsPress CSV importers. When importing events, be sure to use the date format yyyy/mm/dd.
|
Yes, CSV importers are included with the plugin. Go to Tools > Import and choose from one of the SportsPress CSV importers. When importing events, be sure to use the date format yyyy/mm/dd.
|
||||||
|
|
||||||
== Screenshots ==
|
|
||||||
|
|
||||||
1. League Table in Twenty Fourteen theme.
|
|
||||||
2. Events List in Twenty Fourteen theme.
|
|
||||||
3. Events Calendar in Twenty Fourteen theme.
|
|
||||||
4. Player List in Twenty Fourteen theme.
|
|
||||||
5. League Table column configuration.
|
|
||||||
6. General Options page.
|
|
||||||
7. Player List widget settings.
|
|
||||||
8. SportsPress Status dashboard widget.
|
|
||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= 0.7.2 =
|
||||||
|
* Fix - Update missing assets.
|
||||||
|
|
||||||
|
= 0.7.1 =
|
||||||
|
* Fix - Activation error preventing new installation.
|
||||||
|
|
||||||
= 0.7 =
|
= 0.7 =
|
||||||
* Feature - Welcome page to display on activation.
|
* Feature - Welcome page to display on activation.
|
||||||
* Feature - Frontend color scheme selection.
|
* Feature - Frontend color scheme selection.
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* Plugin Name: SportsPress
|
* Plugin Name: SportsPress
|
||||||
* Plugin URI: http://wordpress.org/plugins/sportspress
|
* Plugin URI: http://wordpress.org/plugins/sportspress
|
||||||
* Description: Manage your club and its players, staff, events, league tables, and player lists.
|
* Description: Manage your club and its players, staff, events, league tables, and player lists.
|
||||||
* Version: 0.7
|
* Version: 0.7.2
|
||||||
* Author: ThemeBoy
|
* Author: ThemeBoy
|
||||||
* Author URI: http://themeboy.com
|
* Author URI: http://themeboy.com
|
||||||
* Requires at least: 3.8
|
* Requires at least: 3.8
|
||||||
@@ -26,14 +26,14 @@ if ( ! class_exists( 'SportsPress' ) ) :
|
|||||||
* Main SportsPress Class
|
* Main SportsPress Class
|
||||||
*
|
*
|
||||||
* @class SportsPress
|
* @class SportsPress
|
||||||
* @version 0.7
|
* @version 0.7.2
|
||||||
*/
|
*/
|
||||||
final class SportsPress {
|
final class SportsPress {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public $version = '0.7';
|
public $version = '0.7.2';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var SporsPress The single instance of the class
|
* @var SporsPress The single instance of the class
|
||||||
|
|||||||
Reference in New Issue
Block a user