Plugin Directory

Changeset 3067855


Ignore:
Timestamp:
04/09/2024 06:32:23 PM (2 years ago)
Author:
archaeopath
Message:

init v1.3.0

Location:
wp-tournament-registration/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wp-tournament-registration/trunk/readme.md

    r2948871 r3067855  
    1111## License
    1212
    13 © 2020–2023 Ingram Braun [https://ingram-braun.net/](https://ingram-braun.net/#ib_campaign=wptournreg&ib_medium=repository&ib_source=readme&ib_content=copyright)
     13© 2020–2024 Ingram Braun [https://ingram-braun.net/](https://ingram-braun.net/#ib_campaign=wptournreg&ib_medium=repository&ib_source=readme&ib_content=copyright)
    1414
    1515This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
  • wp-tournament-registration/trunk/readme.txt

    r2991290 r3067855  
    44Tags: events, registration, event registration, competition, tournament, tournaments, competitions, sport, chess, hobby sport
    55Requires at least: 5.3
    6 Tested up to: 6.4
     6Tested up to: 6.5
    77Requires PHP: 7.0
    8 Stable tag: 1.2.5
     8Stable tag: 1.3.0
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3131* `city` [text]: self-explanatory.
    3232* `custom1`, `custom2`, `custom3`, `custom4`, `custom5` [text]: if anything is missing.
    33 * `email` [text]: self-explanatory.
     33* `email` [text]: comma-separated list of user names to notify of a new participant.
    3434* `fee_is_paid` [checkbox]:  self-explanatory.
    3535* `firstname` [text]: self-explanatory.
     
    172172== Changelog ==
    173173
     174= 1.3.0 =
     175
     176* E-mail notification fix (remark the doc update!)
     177
    174178= 1.2b =
    175179
  • wp-tournament-registration/trunk/shortcodes/form.php

    r2432703 r3067855  
    5353    }
    5454   
    55     return "<form$id$class$css$action>$noscript$tournament" . do_shortcode( $content, false ) . '<input type="hidden" name="action" value="wptournreg_add_participant"><input type="submit"' . $disabled . '><input type="reset"' . $disabled . '></form>' . $backlink;
     55    return "<form$id$class$css$action>$noscript$tournament" . do_shortcode( $content, false ) . '<input type="hidden" name="action" value="wptournreg_add_participant">' . $email  . '<input type="submit"' . $disabled . '><input type="reset"' . $disabled . '></form>' . $backlink;
    5656}
    5757
     
    7575               
    7676                require_once WP_TOURNREG_DATABASE_PATH . 'escape.php';
    77                 $addressee = preg_split( '/\s*,\s*/', wptournreg_escape( $_POST[ 'cc' ] ) );
     77                $addressee = explode( ',', wptournreg_escape( $_POST[ 'cc' ] ) );
    7878                $to =[];
    7979               
    8080                foreach ( $addressee as $email ) {
    8181                   
    82                     $user = get_user_by( 'login', $addressee );
     82                    $user = get_user_by( 'login', trim( $email ) );
    8383                    if ( $user !== false ) {
    8484                       
     
    8888
    8989                if ( count( $to ) > 0 ) {
     90                   
     91                    $mailbody = '';
    9092                   
    9193                    foreach ( $_POST as $key => $value ) {
  • wp-tournament-registration/trunk/wp-tournament-registration.php

    r2991290 r3067855  
    66* Plugin Name:         WP Tournament Registration
    77* Plugin URI:          https://ingram-braun.net/erga/wp-tournament-registration-wordpress-plugin/
    8 * Version:             1.2.5
     8* Version:             1.3.0
    99* Requires at least:   5.3
    1010* Requires PHP:        7.0
     
    2020/* VERSIONS */
    2121define( "WP_TOURNREG_DB_VER", 5 );
    22 define( "WP_TOURNREG_PLUGIN_VER", '1.2b' );
     22define( "WP_TOURNREG_PLUGIN_VER", '1.3.0' );
    2323define( "WP_TOURNREG_TBSORT_VER", '2.31.3' );
    2424
     
    6262require_once WP_TOURNREG_HTTP_PATH. 'cache.php';
    6363
    64 
    65 
    6664/* SHORTCODES */
    6765require_once WP_TOURNREG_SHORTCODE_PATH . 'edit.php';
Note: See TracChangeset for help on using the changeset viewer.