Version Description
- Fix - Event results, box scores, and players stats not updating via REST API.
Download this release
Release Info
Developer | ThemeBoy |
Plugin | SportsPress – Sports Club & League Manager |
Version | 2.7.8 |
Comparing to | |
See all releases |
Code changes from version 2.7.7 to 2.7.8
- changelog.txt +3 -0
- includes/api/class-sp-rest-api.php +4 -4
- readme.txt +4 -1
- sportspress.php +3 -3
changelog.txt
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
== SportsPress Changelog ==
|
2 |
|
|
|
|
|
|
|
3 |
= 2.7.7 =
|
4 |
* Fix - Events not appearing due to filter malfunction.
|
5 |
|
1 |
== SportsPress Changelog ==
|
2 |
|
3 |
+
= 2.7.8 =
|
4 |
+
* Fix - Event results, box scores, and players stats not updating via REST API.
|
5 |
+
|
6 |
= 2.7.7 =
|
7 |
* Fix - Events not appearing due to filter malfunction.
|
8 |
|
includes/api/class-sp-rest-api.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* The SportsPress REST API class handles all API-related hooks.
|
6 |
*
|
7 |
* @class SP_REST_API
|
8 |
-
* @version 2.7.
|
9 |
* @package SportsPress/Classes
|
10 |
* @category Class
|
11 |
* @package SportsPress/API
|
@@ -223,7 +223,7 @@ class SP_REST_API {
|
|
223 |
'update_callback' => 'SP_REST_API::update_post_meta_arrays',
|
224 |
'schema' => array(
|
225 |
'description' => __( 'Results', 'sportspress' ),
|
226 |
-
'type' => '
|
227 |
'context' => array( 'view', 'edit' ),
|
228 |
'arg_options' => array(
|
229 |
'sanitize_callback' => 'rest_sanitize_request_arg',
|
@@ -239,7 +239,7 @@ class SP_REST_API {
|
|
239 |
'update_callback' => 'SP_REST_API::update_post_meta_arrays_multi',
|
240 |
'schema' => array(
|
241 |
'description' => __( 'Box Score', 'sportspress' ),
|
242 |
-
'type' => '
|
243 |
'context' => array( 'view', 'edit' ),
|
244 |
'arg_options' => array(
|
245 |
'sanitize_callback' => 'rest_sanitize_request_arg',
|
@@ -445,7 +445,7 @@ class SP_REST_API {
|
|
445 |
'update_callback' => 'SP_REST_API::update_post_meta_arrays_multi',
|
446 |
'schema' => array(
|
447 |
'description' => __( 'Statistics', 'sportspress' ),
|
448 |
-
'type' => '
|
449 |
'context' => array( 'view', 'edit' ),
|
450 |
'arg_options' => array(
|
451 |
'sanitize_callback' => 'rest_sanitize_request_arg',
|
5 |
* The SportsPress REST API class handles all API-related hooks.
|
6 |
*
|
7 |
* @class SP_REST_API
|
8 |
+
* @version 2.7.8
|
9 |
* @package SportsPress/Classes
|
10 |
* @category Class
|
11 |
* @package SportsPress/API
|
223 |
'update_callback' => 'SP_REST_API::update_post_meta_arrays',
|
224 |
'schema' => array(
|
225 |
'description' => __( 'Results', 'sportspress' ),
|
226 |
+
'type' => 'object',
|
227 |
'context' => array( 'view', 'edit' ),
|
228 |
'arg_options' => array(
|
229 |
'sanitize_callback' => 'rest_sanitize_request_arg',
|
239 |
'update_callback' => 'SP_REST_API::update_post_meta_arrays_multi',
|
240 |
'schema' => array(
|
241 |
'description' => __( 'Box Score', 'sportspress' ),
|
242 |
+
'type' => 'object',
|
243 |
'context' => array( 'view', 'edit' ),
|
244 |
'arg_options' => array(
|
245 |
'sanitize_callback' => 'rest_sanitize_request_arg',
|
445 |
'update_callback' => 'SP_REST_API::update_post_meta_arrays_multi',
|
446 |
'schema' => array(
|
447 |
'description' => __( 'Statistics', 'sportspress' ),
|
448 |
+
'type' => 'object',
|
449 |
'context' => array( 'view', 'edit' ),
|
450 |
'arg_options' => array(
|
451 |
'sanitize_callback' => 'rest_sanitize_request_arg',
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: calendars, club, club management, esports, events, fixtures, leagues, leag
|
|
4 |
Donate link: http://tboy.co/donate
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 5.7
|
7 |
-
Stable tag: 2.7.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -240,6 +240,9 @@ When you upgrade to one of the SportsPress Pro licenses, you can simply activate
|
|
240 |
|
241 |
== Changelog ==
|
242 |
|
|
|
|
|
|
|
243 |
= 2.7.7 =
|
244 |
* Fix - Events not appearing due to filter malfunction.
|
245 |
|
4 |
Donate link: http://tboy.co/donate
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 5.7
|
7 |
+
Stable tag: 2.7.8
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
240 |
|
241 |
== Changelog ==
|
242 |
|
243 |
+
= 2.7.8 =
|
244 |
+
* Fix - Event results, box scores, and players stats not updating via REST API.
|
245 |
+
|
246 |
= 2.7.7 =
|
247 |
* Fix - Events not appearing due to filter malfunction.
|
248 |
|
sportspress.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: SportsPress
|
4 |
* Plugin URI: http://themeboy.com/sportspress/
|
5 |
* Description: Manage your club and its players, staff, events, league tables, and player lists.
|
6 |
-
* Version: 2.7.
|
7 |
* Author: ThemeBoy
|
8 |
* Author URI: http://themeboy.com
|
9 |
* Requires at least: 3.8
|
@@ -26,14 +26,14 @@ if ( ! class_exists( 'SportsPress' ) ) :
|
|
26 |
* Main SportsPress Class
|
27 |
*
|
28 |
* @class SportsPress
|
29 |
-
* @version 2.7.
|
30 |
*/
|
31 |
final class SportsPress {
|
32 |
|
33 |
/**
|
34 |
* @var string
|
35 |
*/
|
36 |
-
public $version = '2.7.
|
37 |
|
38 |
/**
|
39 |
* @var SportsPress The single instance of the class
|
3 |
* Plugin Name: SportsPress
|
4 |
* Plugin URI: http://themeboy.com/sportspress/
|
5 |
* Description: Manage your club and its players, staff, events, league tables, and player lists.
|
6 |
+
* Version: 2.7.8
|
7 |
* Author: ThemeBoy
|
8 |
* Author URI: http://themeboy.com
|
9 |
* Requires at least: 3.8
|
26 |
* Main SportsPress Class
|
27 |
*
|
28 |
* @class SportsPress
|
29 |
+
* @version 2.7.8
|
30 |
*/
|
31 |
final class SportsPress {
|
32 |
|
33 |
/**
|
34 |
* @var string
|
35 |
*/
|
36 |
+
public $version = '2.7.8';
|
37 |
|
38 |
/**
|
39 |
* @var SportsPress The single instance of the class
|