Commit Graph

2548 Commits

Author SHA1 Message Date
Brian Miyaji
f4d4410ee8 Merge pull request #248 from kadimi/patch-7
Validate `sportspress_term_order()` parameter `$terms`
2018-02-26 14:28:30 +11:00
Brian Miyaji
2f699c0f91 Merge pull request #246 from kadimi/patch-5
Add option to WPML config file
2018-02-26 14:28:10 +11:00
Brian Miyaji
939c51f02f Merge pull request #245 from kadimi/patch-3
Fix RTL CSS not working due to lower weight
2018-02-26 14:27:22 +11:00
Brian Miyaji
0263cfe5b6 Merge pull request #244 from kadimi/patch-2
Add WPML support to template file staff-header.php
2018-02-26 14:26:48 +11:00
Nabil Kadimi
4844945c26 Make sure wp_list_pluck() is fed an array 2018-02-22 17:35:41 +00:00
Nabil Kadimi
1c3e4c1ce8 Preserve squad number "0" when importing players 2018-02-21 12:09:07 +00:00
Nabil Kadimi
6e8be9ae41 Prevent array_filter on non-array $result 2018-02-21 10:32:33 +00:00
savvasha
fa1877747c Add sp_spec CPT for Event Specs
a) Create sp_spec
b) Add it to Config Page
c) Add Admin Meta-Box
d) Add Event Meta-Box
2018-02-16 13:53:56 +02:00
Nabil Kadimi
594d344048 Force integer value for $substitution_time
Fixes #249
2018-02-16 11:24:50 +00:00
Nabil Kadimi
977c63eefd Validate sportspress_term_order() parameter $terms
$terms can be False or WP_Error, in which case, the function will produce warnings. e.g.:

`Warning: uasort() expects parameter 1 to be array, boolean given in /var/html/wp-content/plugins/sportspress-pro/includes/sportspress/includes/sp-template-hooks.php on line 145`
2018-02-14 08:40:43 +00:00
Nabil Kadimi
aff9678ee4 Add option to WPML config file
The option is `sportspress_footer_sponsors_title` and it appears in **Sportspress Settings > Settings**
2018-02-12 21:53:51 +00:00
Nabil Kadimi
690a9b6de6 Fix RTL CSS not working due to lower weight 2018-02-10 10:54:39 +00:00
Nabil Kadimi
644778e2a9 Add WPML support to template file staff-header.php 2018-02-09 02:38:37 +00:00
Brian Miyaji
87887a38aa Tag version 2.5.10 2018-02-02 11:26:33 +11:00
Brian Miyaji
509b7ebbf1 Redirect scheduled events without affecting calendars or other posts 2018-02-02 11:23:17 +11:00
Brian Miyaji
5910cc027b Tag version 2.5.9 2018-01-30 12:22:40 +11:00
Brian Miyaji
6f5fd5fa5e Fix future posts hook affecting other post types 2018-01-30 12:21:05 +11:00
Brian Miyaji
114ed53ddf Tag version 2.5.8 2018-01-29 11:25:32 +11:00
Brian Miyaji
eb7c1d7e40 Fix future events using default permalinks 2018-01-29 11:22:14 +11:00
Brian Miyaji
9d0b2a9a4d Tag version 2.5.7 2018-01-29 11:21:11 +11:00
Brian Miyaji
2e02758969 Revert responsive table behavior to 2.5 2018-01-26 08:11:21 +11:00
Brian Miyaji
dedfe98ed1 Fix blank general settings page in WordPress < 4.9 2018-01-26 08:02:09 +11:00
Brian Miyaji
ce5e77e593 Tag version 2.5.6 2018-01-26 01:51:45 +11:00
Brian Miyaji
8fad5481a0 Turn off responsive tables by default 2018-01-26 01:34:05 +11:00
savvasha
30561ff017 Convert hook from filter to action for simplicity
And adding  $player_id variable for use with add_filter
2018-01-23 14:41:38 +02:00
savvasha
258daa2df3 Add another variable ($post) to player_name hooks
So as to be able to use it for getting post_meta of a player through add_filter.
2018-01-23 13:54:10 +02:00
Brian Miyaji
68a5fb0c02 Tag version 2.5.5 2018-01-23 20:11:50 +11:00
Brian Miyaji
d40b7588ee Update file version numbers 2018-01-23 18:27:28 +11:00
Brian Miyaji
c891703e13 Add duplicate merging option to staff and team importer 2018-01-23 18:16:00 +11:00
Brian Miyaji
413686e4fd Merge duplicate players 2018-01-23 18:00:59 +11:00
Brian Miyaji
b5e416b7cd Fix calculated column totals in box score 2018-01-23 17:26:16 +11:00
Brian Miyaji
b4f398698f Fix error in event performance table 2018-01-23 17:08:38 +11:00
Brian Miyaji
afdc76c5aa Merge pull request #240 from ThemeBoy/sportspress-countdown
Sportspress countdown
2018-01-23 15:58:31 +11:00
savvasha
7ebb97bfd9 Add calendar variable at countdown shortcode 2018-01-22 17:44:25 +02:00
savvasha
195e6d6000 Add calendar selection to Countdown widget 2018-01-22 17:01:30 +02:00
Brian Miyaji
40a9e7d65c Add main league and current season options to secondary post types 2018-01-22 14:07:23 +11:00
Brian Miyaji
cc553f88e2 Update main league and current season during setup 2018-01-22 11:31:58 +11:00
Brian Miyaji
e78a259065 Add main league and current season settings 2018-01-22 11:31:49 +11:00
Brian Miyaji
fd21316b23 Add [staff_profile] shortcode for backward compatibility with sites already using [staff] 2018-01-22 01:30:24 +11:00
Brian Miyaji
c0f9d1838e Tweak shortcode content markup to match post markup 2018-01-22 01:29:13 +11:00
Brian Miyaji
179c291b88 Merge pull request #239 from ThemeBoy/feature-responsive
Add responsive tables
2018-01-22 00:30:51 +11:00
Brian Miyaji
2f02782f81 Merge pull request #238 from ThemeBoy/tweak-codemirror
Add Codemirror to Custom CSS field
2018-01-22 00:30:41 +11:00
Brian Miyaji
9f6b0af83a Add CodeMirror styles to match settings page 2018-01-17 11:07:25 +11:00
Brian Miyaji
3d6c4f417f Add subtle border to table rows 2018-01-17 10:50:36 +11:00
Brian Miyaji
210122ad67 Close brackets in event list template 2018-01-17 10:50:25 +11:00
Brian Miyaji
a75195a4f2 Merge pull request #198 from leewaterman/master
Check for empty precision value #197
2018-01-17 10:21:47 +11:00
Brian Miyaji
209118f985 Merge pull request #224 from ChaosZero112/patch-1
Update event-performance-sample.csv
2018-01-17 10:20:53 +11:00
Brian Miyaji
147c081386 Merge pull request #227 from ThemeBoy/new-hooks
Add a couple of hooks as was mention some week ago on Slack
2018-01-17 10:20:18 +11:00
Brian Miyaji
f9e74761f0 Merge pull request #232 from d-r-g/event_player_sort
Event Player Checklist Sort Options
2018-01-17 10:19:36 +11:00
Brian Miyaji
39c117fc86 Merge pull request #233 from PareshRadadiya/fix/179
Fix - Include staff name and profile in [staff] shortcode
2018-01-17 10:19:06 +11:00