Changeset 3067855
- Timestamp:
- 04/09/2024 06:32:23 PM (2 years ago)
- Location:
- wp-tournament-registration/trunk
- Files:
-
- 4 edited
-
readme.md (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
shortcodes/form.php (modified) (3 diffs)
-
wp-tournament-registration.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-tournament-registration/trunk/readme.md
r2948871 r3067855 11 11 ## License 12 12 13 © 2020–202 3Ingram 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) 14 14 15 15 This 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 4 4 Tags: events, registration, event registration, competition, tournament, tournaments, competitions, sport, chess, hobby sport 5 5 Requires at least: 5.3 6 Tested up to: 6. 46 Tested up to: 6.5 7 7 Requires PHP: 7.0 8 Stable tag: 1. 2.58 Stable tag: 1.3.0 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 31 31 * `city` [text]: self-explanatory. 32 32 * `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. 34 34 * `fee_is_paid` [checkbox]: self-explanatory. 35 35 * `firstname` [text]: self-explanatory. … … 172 172 == Changelog == 173 173 174 = 1.3.0 = 175 176 * E-mail notification fix (remark the doc update!) 177 174 178 = 1.2b = 175 179 -
wp-tournament-registration/trunk/shortcodes/form.php
r2432703 r3067855 53 53 } 54 54 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; 56 56 } 57 57 … … 75 75 76 76 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' ] ) ); 78 78 $to =[]; 79 79 80 80 foreach ( $addressee as $email ) { 81 81 82 $user = get_user_by( 'login', $addressee);82 $user = get_user_by( 'login', trim( $email ) ); 83 83 if ( $user !== false ) { 84 84 … … 88 88 89 89 if ( count( $to ) > 0 ) { 90 91 $mailbody = ''; 90 92 91 93 foreach ( $_POST as $key => $value ) { -
wp-tournament-registration/trunk/wp-tournament-registration.php
r2991290 r3067855 6 6 * Plugin Name: WP Tournament Registration 7 7 * Plugin URI: https://ingram-braun.net/erga/wp-tournament-registration-wordpress-plugin/ 8 * Version: 1. 2.58 * Version: 1.3.0 9 9 * Requires at least: 5.3 10 10 * Requires PHP: 7.0 … … 20 20 /* VERSIONS */ 21 21 define( "WP_TOURNREG_DB_VER", 5 ); 22 define( "WP_TOURNREG_PLUGIN_VER", '1. 2b' );22 define( "WP_TOURNREG_PLUGIN_VER", '1.3.0' ); 23 23 define( "WP_TOURNREG_TBSORT_VER", '2.31.3' ); 24 24 … … 62 62 require_once WP_TOURNREG_HTTP_PATH. 'cache.php'; 63 63 64 65 66 64 /* SHORTCODES */ 67 65 require_once WP_TOURNREG_SHORTCODE_PATH . 'edit.php';
Note: See TracChangeset
for help on using the changeset viewer.