Commit Graph

1516 Commits

Author SHA1 Message Date
savvasha
f42499ba5e Avoid PHP warnings with PHP >= 7.2.x
Fix PHP Warning:  sizeof(): Parameter must be an array or an object that implements Countable on line 263
2018-09-15 16:58:48 +03:00
Nabil Kadimi
88e9491e2c Minor PHP 5 compatibility 2018-09-13 17:31:55 +01:00
Nabil Kadimi
8b69fe22fe Minor 2018-09-12 19:42:56 +01:00
Nabil Kadimi
b488fecb4e Fix location picker freezing the browser 2018-09-12 19:40:52 +01:00
Nabil Kadimi
4acfcc62e0 Refactor 2018-09-11 23:56:47 +01:00
savvasha
4d5be2a4c2 Optimize sp_team filtering 2018-09-07 19:05:35 +03:00
savvasha
936743f55c Filter events based on Home and Away Team 2018-09-07 19:03:46 +03:00
savvasha
013383fb2d Add Layout Selection and modify the Event Filtering 2018-09-07 11:48:42 +03:00
savvasha
61bab3cbc8 Add date and time option for showing on the countdown widget 2018-09-03 17:41:45 +03:00
savvasha
7b04d13d58 Avoid PHP warning on Calendar edit page
Avoid PHP Warning:  Invalid argument supplied for foreach() in \wp-content\plugins\sportspress-pro\includes\sportspress\includes\class-sp-event.php on line 587

The error occurs on Calendar Edit page when there is an event without an assigned official.
2018-09-01 18:15:22 +03:00
savvasha
c37705024d Add a "Full Info" event shortcode. It supports template order! 2018-08-31 18:53:55 +03:00
savvasha
329de03646 Add three new event shortcodes (Teams, Venue, Officials) 2018-08-31 17:46:13 +03:00
savvasha
953f551016 Make the Player List shortcode more flexible (selection of Season, League and Team) 2018-08-29 21:35:03 +03:00
savvasha
bf50beb953 Avoid loading ALL players at the first step of creating a Player List 2018-08-29 06:47:59 +03:00
Brian Miyaji
ab4cdc52f0 Tag version 2.6.8 2018-08-28 23:50:39 +10:00
Brian Miyaji
b7ca52896e Update file version numbers 2018-08-28 23:37:01 +10:00
Brian Miyaji
4a1de5156f Merge pull request #287 from kadimi/patch-20
Verify get_terms result is an array before foreach
2018-08-28 23:36:17 +10:00
Brian Miyaji
fe60d56088 Merge pull request #290 from ThemeBoy/feature-statistics-icons
Feature statistics icons
2018-08-28 23:35:23 +10:00
savvasha
c4a51e2a9b Filter events based on format (Competitive, Friendly, Tournament etc) 2018-08-28 10:39:24 +03:00
savvasha
fea34c7ff2 Avoid PHP Notice: Undefined variable: date 2018-08-28 10:00:02 +03:00
savvasha
8e33149ab8 Some tuning for countdown scripts 2018-08-24 07:09:15 +03:00
Brian Miyaji
41b1ede690 @savvas commit fix countdown timezone issue 2018-08-24 00:52:17 +10:00
Brian Miyaji
7f03ca39b9 @savvasha commit from BitBucket 2018-08-24 00:47:45 +10:00
savvasha
be2c026f3f Avoid PHP warnings with Midseason Transfers
When Midseason Transfers are used we have to convert the string values to integers (i.e. `'601.1'` to `601`) to avoid PHP warnings
2018-08-15 09:43:29 +03:00
savvasha
0038088858 Add uk to countries legacy list 2018-07-31 17:26:08 +03:00
savvasha
45e5b7637f Avoid overriding meta_query args when a team is selected 2018-07-30 22:51:29 +03:00
savvasha
ce4389bee9 Add "week" as a filtering option to Birthdays widget 2018-07-30 16:40:07 +03:00
Nabil Kadimi
6720808309 Verify get_terms result is an array before foreach 2018-07-25 21:21:09 +01:00
Brian Miyaji
c8414b0689 Tag version 2.6.7 2018-07-24 10:26:20 +10:00
Brian Miyaji
dad05dc6ba Update Google Maps API endpoints 2018-07-24 10:23:17 +10:00
Brian Miyaji
7ef961b4f4 Return main results without reverse 2018-07-16 13:49:39 +10:00
Brian Miyaji
a3f6a36d2b Revert "Merge pull request #280 from kadimi/patch-16"
This reverts commit 37f7076c5e, reversing
changes made to 00158a5812.
2018-07-16 13:24:54 +10:00
Brian Miyaji
3f0082baa4 Revert "Merge pull request #275 from kadimi/patch-11"
This reverts commit 757c827b82, reversing
changes made to 22ee0eb2cc.
2018-07-16 13:24:05 +10:00
Brian Miyaji
d79bf62b04 Tag version 2.6.5 2018-07-09 16:37:42 +10:00
Brian Miyaji
c31ccd00aa Remove chosen script from post author 2018-07-09 16:09:05 +10:00
Brian Miyaji
3e1a85740c Merge pull request #274 from kadimi/patch-10
Apply "Reverse Teams" option to event titles too
2018-07-09 16:00:50 +10:00
Brian Miyaji
bc253aaece Merge pull request #281 from kadimi/patch-17
Apply "Reverse Teams" to event listing in dashboard
2018-07-09 16:00:39 +10:00
Brian Miyaji
37f7076c5e Merge pull request #280 from kadimi/patch-16
Apply "Reverse Teams" to home and away records
2018-07-09 16:00:36 +10:00
Brian Miyaji
7a3461a94f Merge pull request #277 from kadimi/patch-13
Apply "Reverse Teams" to event logos
2018-07-09 16:00:29 +10:00
Brian Miyaji
07dd87d833 Merge pull request #276 from kadimi/patch-12
Fix Google calendar links
2018-07-09 16:00:25 +10:00
Brian Miyaji
757c827b82 Merge pull request #275 from kadimi/patch-11
Apply "Reverse Teams" to the Box Score metabox
2018-07-09 16:00:21 +10:00
Brian Miyaji
22ee0eb2cc Merge pull request #272 from kadimi/patch-8
Sort leagues, positions and season by sp_order
2018-07-09 16:00:12 +10:00
Nabil Kadimi
3ed9ffc37c Apply "Reverse Teams" to event listing in dashboard 2018-06-29 01:27:52 +01:00
Nabil Kadimi
a5cd20c870 Apply "Reverse Teams" to home and away records 2018-06-28 22:32:55 +01:00
savvasha
64123e7b60 Add 'el' ccode at the legacy function 2018-06-28 21:28:29 +03:00
Nabil Kadimi
995f53256e Refactor 2018-06-28 10:16:47 +01:00
Nabil Kadimi
17aa824f56 Move fix to parent function sp_get_main_results() 2018-06-28 10:12:45 +01:00
Nabil Kadimi
2fb89c3890 Fix Google calendar links 2018-06-26 10:50:11 +01:00
Nabil Kadimi
85914360bf Apply "Reverse Teams" to the Box Score metabox 2018-06-25 10:48:47 +01:00
Nabil Kadimi
a51339f03b Apply "Reverse Teams" option to event titles too 2018-06-20 19:29:32 +01:00