From 26f349bf9f5af57a87c8409919df58f181656b1c Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Mon, 31 Mar 2014 14:22:48 +1100 Subject: [PATCH] Fix installation error --- includes/class-sp-install.php | 2 +- readme.txt | 34 ++++++++++++++++++++-------------- sportspress.php | 6 +++--- 3 files changed, 24 insertions(+), 18 deletions(-) diff --git a/includes/class-sp-install.php b/includes/class-sp-install.php index 40432bc8..d5d75062 100644 --- a/includes/class-sp-install.php +++ b/includes/class-sp-install.php @@ -128,7 +128,7 @@ class SP_Install { // Configure default sport $sport = 'soccer'; $options = sp_get_sport_presets(); - SP_Settings_Config::configure_sport( $options[ $sport ] ); + SP_Admin_Settings::configure_sport( $options[ $sport ] ); update_option( 'sportspress_sport', $sport ); } diff --git a/readme.txt b/readme.txt index 197aedc5..0cdba40a 100644 --- a/readme.txt +++ b/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 Requires at least: 3.8 Tested up to: 3.8.1 -Stable tag: 0.7 +Stable tag: 0.7.2 License: GPLv3 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. -== 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. @@ -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. -== 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 == += 0.7.2 = +* Fix - Update missing assets. + += 0.7.1 = +* Fix - Activation error preventing new installation. + = 0.7 = * Feature - Welcome page to display on activation. * Feature - Frontend color scheme selection. diff --git a/sportspress.php b/sportspress.php index 7d6a1a50..cce57b85 100644 --- a/sportspress.php +++ b/sportspress.php @@ -3,7 +3,7 @@ * Plugin Name: SportsPress * Plugin URI: http://wordpress.org/plugins/sportspress * Description: Manage your club and its players, staff, events, league tables, and player lists. - * Version: 0.7 + * Version: 0.7.2 * Author: ThemeBoy * Author URI: http://themeboy.com * Requires at least: 3.8 @@ -26,14 +26,14 @@ if ( ! class_exists( 'SportsPress' ) ) : * Main SportsPress Class * * @class SportsPress - * @version 0.7 + * @version 0.7.2 */ final class SportsPress { /** * @var string */ - public $version = '0.7'; + public $version = '0.7.2'; /** * @var SporsPress The single instance of the class