Plugin Directory

Changeset 3155271


Ignore:
Timestamp:
09/20/2024 03:24:33 PM (18 months ago)
Author:
beardev
Message:

v 5.6.10

Location:
joomsport-sports-league-results-management
Files:
365 added
4 edited

Legend:

Unmodified
Added
Removed
  • joomsport-sports-league-results-management/trunk/includes/joomsport-permalink.php

    r3131825 r3155271  
    159159    return $has_thumbnail;
    160160}
     161
  • joomsport-sports-league-results-management/trunk/includes/meta-boxes/joomsport-meta-match.php

    r3154658 r3155271  
    12451245    }
    12461246    private static function saveMetaAbout($post_id){
    1247         // Add nonce for security and authentication.
    1248         $nonce_name   = isset( $_POST['joomsport_match_nonce'] ) ? sanitize_text_field(wp_unslash($_POST['joomsport_match_nonce'])) : '';
    1249         $nonce_action = 'joomsport_team_savemetaboxes';
    1250 
    1251         // Check if nonce is set.
    1252         if ( ! isset( $nonce_name ) ) {
    1253             return;
    1254         }
    1255 
    1256         // Check if nonce is valid.
    1257         if ( ! wp_verify_nonce( $nonce_name, $nonce_action ) ) {
    1258             return;
    1259         }
     1247
    12601248        $meta_data = isset($_POST['about'])?  wp_kses_post(wp_unslash($_POST['about'])):'';
    12611249        update_post_meta($post_id, '_joomsport_match_about', $meta_data);
    12621250    }
    12631251    private static function saveMetaDescr($post_id){
    1264         // Add nonce for security and authentication.
    1265         $nonce_name   = isset( $_POST['joomsport_match_nonce'] ) ? sanitize_text_field(wp_unslash($_POST['joomsport_match_nonce'])) : '';
    1266         $nonce_action = 'joomsport_team_savemetaboxes';
    1267 
    1268         // Check if nonce is set.
    1269         if ( ! isset( $nonce_name ) ) {
    1270             return;
    1271         }
    1272 
    1273         // Check if nonce is valid.
    1274         if ( ! wp_verify_nonce( $nonce_name, $nonce_action ) ) {
    1275             return;
    1276         }
     1252
    12771253        $meta_data = isset($_POST['descr'])?  wp_kses_post(wp_unslash($_POST['descr'])):'';
    12781254        if($meta_data){
     
    12841260    }
    12851261    public static function saveMetaGeneral($post_id, $post){
    1286         // Add nonce for security and authentication.
    1287         $nonce_name   = isset( $_POST['joomsport_match_nonce'] ) ? sanitize_text_field(wp_unslash($_POST['joomsport_match_nonce'])) : '';
    1288         $nonce_action = 'joomsport_team_savemetaboxes';
    1289 
    1290         // Check if nonce is set.
    1291         if ( ! isset( $nonce_name ) ) {
    1292             return;
    1293         }
    1294 
    1295         // Check if nonce is valid.
    1296         if ( ! wp_verify_nonce( $nonce_name, $nonce_action ) ) {
    1297             return;
    1298         }
     1262
    12991263        $meta_array = array();
    13001264        $metadata = get_post_meta($post_id,'_joomsport_match_general',true);
     
    13161280
    13171281    public static function saveMetaPlayerEvents($post_id, $post){
    1318         // Add nonce for security and authentication.
    1319         $nonce_name   = isset( $_POST['joomsport_match_nonce'] ) ? sanitize_text_field(wp_unslash($_POST['joomsport_match_nonce'])) : '';
    1320         $nonce_action = 'joomsport_team_savemetaboxes';
    1321 
    1322         // Check if nonce is set.
    1323         if ( ! isset( $nonce_name ) ) {
    1324             return;
    1325         }
    1326 
    1327         // Check if nonce is valid.
    1328         if ( ! wp_verify_nonce( $nonce_name, $nonce_action ) ) {
    1329             return;
    1330         }
     1282
    13311283        global $wpdb;
    13321284        $joomsport_refactoring_v = (int) get_option("joomsport_refactoring_v", 0);
     
    13971349    }
    13981350    public static function saveMetaMatchEvents($post_id, $post){
    1399         // Add nonce for security and authentication.
    1400         $nonce_name   = isset( $_POST['joomsport_match_nonce'] ) ? sanitize_text_field(wp_unslash($_POST['joomsport_match_nonce'])) : '';
    1401         $nonce_action = 'joomsport_team_savemetaboxes';
    1402 
    1403         // Check if nonce is set.
    1404         if ( ! isset( $nonce_name ) ) {
    1405             return;
    1406         }
    1407 
    1408         // Check if nonce is valid.
    1409         if ( ! wp_verify_nonce( $nonce_name, $nonce_action ) ) {
    1410             return;
    1411         }
     1351
    14121352        $meta_array = array();
    14131353        if(isset($post['mevent_id']) && count($post['mevent_id'])){
     
    14871427    }
    14881428    public static function saveMetaSubs($post_id, $post){
    1489         // Add nonce for security and authentication.
    1490         $nonce_name   = isset( $_POST['joomsport_match_nonce'] ) ? sanitize_text_field(wp_unslash($_POST['joomsport_match_nonce'])) : '';
    1491         $nonce_action = 'joomsport_team_savemetaboxes';
    1492 
    1493         // Check if nonce is set.
    1494         if ( ! isset( $nonce_name ) ) {
    1495             return;
    1496         }
    1497 
    1498         // Check if nonce is valid.
    1499         if ( ! wp_verify_nonce( $nonce_name, $nonce_action ) ) {
    1500             return;
    1501         }
     1429
    15021430        global $wpdb;
    15031431        $home_team = get_post_meta( $post_id, '_joomsport_home_team', true );
  • joomsport-sports-league-results-management/trunk/joomsport.php

    r3154658 r3155271  
    44Plugin URI: http://joomsport.com
    55Description: Sport league plugin
    6 Version: 5.6.9
     6Version: 5.6.10
    77Author: BearDev
    88Author URI: http://BearDev.com
  • joomsport-sports-league-results-management/trunk/readme.txt

    r3154658 r3155271  
    55Tested up to: 6.6
    66Requires PHP: 7.4
    7 Stable tag: 5.6.9
     7Stable tag: 5.6.10
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
     
    124124== Changelog ==
    125125
     126= 5.6.10 =
     127
     128Bugfixes:
     129* save time and date from match fix
     130
    126131= 5.6.9 =
    127132
Note: See TracChangeset for help on using the changeset viewer.