Move presets to json objects

This commit is contained in:
Brian Miyaji
2014-05-02 17:27:18 +10:00
parent 6ce1953dc2
commit 388817111a
22 changed files with 438 additions and 365 deletions

View File

@@ -46,11 +46,6 @@ final class SportsPress {
*/
public $countries = null;
/**
* @var SP_Sports $sports
*/
public $sports = null;
/**
* @var SP_Formats $formats
*/
@@ -214,7 +209,6 @@ final class SportsPress {
// Classes (used on all pages)
include_once( 'includes/class-sp-countries.php' ); // Defines continents and countries
include_once( 'includes/class-sp-formats.php' ); // Defines custom post type formats
include_once( 'includes/class-sp-sports.php' ); // Defines custom post type formats
include_once( 'includes/class-sp-text.php' ); // Defines editable strings
// Include template hooks in time for themes to remove/modify them
@@ -263,7 +257,6 @@ final class SportsPress {
// Load class instances
$this->countries = new SP_Countries(); // Countries class
$this->formats = new SP_Formats(); // Formats class
$this->sports = new SP_Sports(); // Formats class
$this->text = new SP_Text(); // Text class
// Init action