Tag version 2.6
This commit is contained in:
@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
|
||||
Description: Add conditional equations to SportsPress.
|
||||
Author: ThemeBoy
|
||||
Author URI: http://themeboy.com/
|
||||
Version: 2.5.10
|
||||
Version: 2.6
|
||||
*/
|
||||
|
||||
// Exit if accessed directly
|
||||
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Conditional_Equations' ) ) :
|
||||
* Main SportsPress Conditional Equations Class
|
||||
*
|
||||
* @class SportsPress_Conditional_Equations
|
||||
* @version 2.5.10
|
||||
* @version 2.6
|
||||
*/
|
||||
|
||||
class SportsPress_Conditional_Equations {
|
||||
@@ -42,7 +42,7 @@ if ( ! class_exists( 'SportsPress_Conditional_Equations' ) ) :
|
||||
*/
|
||||
private function define_constants() {
|
||||
if ( !defined( 'SP_CONDITIONAL_EQUATIONS_VERSION' ) )
|
||||
define( 'SP_CONDITIONAL_EQUATIONS_VERSION', '2.5.10' );
|
||||
define( 'SP_CONDITIONAL_EQUATIONS_VERSION', '2.6' );
|
||||
|
||||
if ( !defined( 'SP_CONDITIONAL_EQUATIONS_URL' ) )
|
||||
define( 'SP_CONDITIONAL_EQUATIONS_URL', plugin_dir_url( __FILE__ ) );
|
||||
|
||||
@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
|
||||
Description: Add countdown widgets to SportsPress.
|
||||
Author: ThemeBoy
|
||||
Author URI: http://themeboy.com/
|
||||
Version: 2.0
|
||||
Version: 2.6
|
||||
*/
|
||||
|
||||
// Exit if accessed directly
|
||||
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Countdowns' ) ) :
|
||||
* Main SportsPress Countdowns Class
|
||||
*
|
||||
* @class SportsPress_Countdowns
|
||||
* @version 2.0
|
||||
* @version 2.6
|
||||
*/
|
||||
class SportsPress_Countdowns {
|
||||
|
||||
@@ -41,7 +41,7 @@ class SportsPress_Countdowns {
|
||||
*/
|
||||
private function define_constants() {
|
||||
if ( !defined( 'SP_COUNTDOWNS_VERSION' ) )
|
||||
define( 'SP_COUNTDOWNS_VERSION', '2.0' );
|
||||
define( 'SP_COUNTDOWNS_VERSION', '2.6' );
|
||||
|
||||
if ( !defined( 'SP_COUNTDOWNS_URL' ) )
|
||||
define( 'SP_COUNTDOWNS_URL', plugin_dir_url( __FILE__ ) );
|
||||
|
||||
@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
|
||||
Description: Add event specs/stats to SportsPress.
|
||||
Author: ThemeBoy
|
||||
Author URI: http://themeboy.com/
|
||||
Version: 2.5.10
|
||||
Version: 2.6
|
||||
*/
|
||||
|
||||
// Exit if accessed directly
|
||||
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Event_Specs' ) ) :
|
||||
* Main SportsPress Event Specs Class
|
||||
*
|
||||
* @class SportsPress_Event_Specs
|
||||
* @version 2.5.10
|
||||
* @version 2.6
|
||||
*/
|
||||
class SportsPress_Event_Specs {
|
||||
|
||||
@@ -48,7 +48,7 @@ class SportsPress_Event_Specs {
|
||||
*/
|
||||
private function define_constants() {
|
||||
if ( !defined( 'SP_EVENT_SPECS_VERSION' ) )
|
||||
define( 'SP_EVENT_SPECS_VERSION', '2.5.10' );
|
||||
define( 'SP_EVENT_SPECS_VERSION', '2.6' );
|
||||
|
||||
if ( !defined( 'SP_EVENT_SPECS_URL' ) )
|
||||
define( 'SP_EVENT_SPECS_URL', plugin_dir_url( __FILE__ ) );
|
||||
|
||||
@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
|
||||
Description: Add officials to SportsPress.
|
||||
Author: ThemeBoy
|
||||
Author URI: http://themeboy.com/
|
||||
Version: 2.5.1
|
||||
Version: 2.6
|
||||
*/
|
||||
|
||||
// Exit if accessed directly
|
||||
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_Officials' ) ) :
|
||||
* Main SportsPress Officials Class
|
||||
*
|
||||
* @class SportsPress_Officials
|
||||
* @version 2.5.1
|
||||
* @version 2.6
|
||||
*/
|
||||
class SportsPress_Officials {
|
||||
|
||||
@@ -66,7 +66,7 @@ class SportsPress_Officials {
|
||||
*/
|
||||
private function define_constants() {
|
||||
if ( !defined( 'SP_OFFICIALS_VERSION' ) )
|
||||
define( 'SP_OFFICIALS_VERSION', '2.5.1' );
|
||||
define( 'SP_OFFICIALS_VERSION', '2.6' );
|
||||
|
||||
if ( !defined( 'SP_OFFICIALS_URL' ) )
|
||||
define( 'SP_OFFICIALS_URL', plugin_dir_url( __FILE__ ) );
|
||||
|
||||
@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
|
||||
Description: Add player assignments support to SportsPress.
|
||||
Author: Savvas
|
||||
Author URI: http://themeboy.com/
|
||||
Version: 2.6.0
|
||||
Version: 2.6
|
||||
*/
|
||||
// Exit if accessed directly
|
||||
if ( ! defined( 'ABSPATH' ) ) exit;
|
||||
@@ -14,7 +14,7 @@ if ( ! class_exists( 'SportsPress_Player_Assignments' ) ) :
|
||||
* Main SportsPress Player Assignments Class
|
||||
*
|
||||
* @class SportsPress_Player_Assignments
|
||||
* @version 2.6.0
|
||||
* @version 2.6
|
||||
*/
|
||||
class SportsPress_Player_Assignments {
|
||||
/**
|
||||
@@ -36,7 +36,7 @@ class SportsPress_Player_Assignments {
|
||||
*/
|
||||
private function define_constants() {
|
||||
if ( !defined( 'SP_PLAYER_ASSIGNMENTS_VERSION' ) )
|
||||
define( 'SP_PLAYER_ASSIGNMENTS_VERSION', '2.6.0' );
|
||||
define( 'SP_PLAYER_ASSIGNMENTS_VERSION', '2.6' );
|
||||
if ( !defined( 'SP_PLAYER_ASSIGNMENTS_URL' ) )
|
||||
define( 'SP_PLAYER_ASSIGNMENTS_URL', plugin_dir_url( __FILE__ ) );
|
||||
if ( !defined( 'SP_PLAYER_ASSIGNMENTS_DIR' ) )
|
||||
@@ -57,7 +57,7 @@ class SportsPress_Player_Assignments {
|
||||
if ( 0 === $l_id ) continue;
|
||||
foreach ( $season as $s_id => $team_id ) {
|
||||
if ( 0 >= $team_id ) continue;
|
||||
$serialized = $l_id.'_'.$s_id.'_'.$team_id;
|
||||
$serialized = intval($l_id).'_'.intval($s_id).'_'.intval($team_id);
|
||||
add_post_meta( $post_id, 'sp_assignments', $serialized, false );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ Plugin URI: http://themeboy.com/
|
||||
Description: Add team and player registration shortcodes to WordPay.
|
||||
Author: ThemeBoy
|
||||
Author URI: http://themeboy.com/
|
||||
Version: 2.4.1
|
||||
Version: 2.6
|
||||
*/
|
||||
|
||||
// Exit if accessed directly
|
||||
@@ -17,7 +17,7 @@ if ( ! class_exists( 'SportsPress_WordPay' ) ) :
|
||||
* Main SportsPress WordPay Class
|
||||
*
|
||||
* @class SportsPress_WordPay
|
||||
* @version 2.4.1
|
||||
* @version 2.6
|
||||
*/
|
||||
class SportsPress_WordPay {
|
||||
|
||||
@@ -47,7 +47,7 @@ class SportsPress_WordPay {
|
||||
*/
|
||||
private function define_constants() {
|
||||
if ( !defined( 'SP_WORDPAY_VERSION' ) )
|
||||
define( 'SP_WORDPAY_VERSION', '2.4.1' );
|
||||
define( 'SP_WORDPAY_VERSION', '2.6' );
|
||||
|
||||
if ( !defined( 'SP_WORDPAY_URL' ) )
|
||||
define( 'SP_WORDPAY_URL', plugin_dir_url( __FILE__ ) );
|
||||
@@ -232,6 +232,4 @@ class SportsPress_WordPay {
|
||||
|
||||
endif;
|
||||
|
||||
if ( get_option( 'sportspress_load_wordpay_module', 'yes' ) == 'yes' ) {
|
||||
new SportsPress_WordPay();
|
||||
}
|
||||
new SportsPress_WordPay();
|
||||
Reference in New Issue
Block a user