Changeset 3374556
- Timestamp:
- 10/07/2025 04:01:33 PM (6 months ago)
- Location:
- wpappninja/trunk
- Files:
-
- 4 edited
-
inc/api/push.php (modified) (3 diffs)
-
inc/functions/shortcodes.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
-
wpappninja.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpappninja/trunk/inc/api/push.php
r3361359 r3374556 23 23 function wpmobile_getOauthToken() { 24 24 25 if ( $_GET['pagename'] == 'wpappninja' && $_GET['type'] == 'googlebearer') {25 if (get_wpappninja_option('debugpush', '0') === '1' && $_GET['pagename'] == 'wpappninja' && $_GET['type'] == 'googlebearer') { 26 26 echo 'OPTION: '. get_option('wpmobile_firebase_config', ''); 27 27 echo "\r\n"; … … 35 35 $authConfigString = @file_get_contents(get_option('wpmobile_firebase_config', '')); 36 36 37 if ( $_GET['pagename'] == 'wpappninja' && $_GET['type'] == 'googlebearer') {37 if (get_wpappninja_option('debugpush', '0') === '1' && $_GET['pagename'] == 'wpappninja' && $_GET['type'] == 'googlebearer') { 38 38 echo 'FILE: '. $authConfigString; 39 39 echo "\r\n"; … … 87 87 if (is_wp_error($response)) { 88 88 $responseText = false; 89 error_log('Erreur WP_HTTP: ' . $response->get_error_message());89 //error_log('Erreur WP_HTTP: ' . $response->get_error_message()); 90 90 } else { 91 91 $responseText = wp_remote_retrieve_body($response); 92 92 } 93 93 94 if ( $_GET['pagename'] == 'wpappninja' && $_GET['type'] == 'googlebearer') {94 if (get_wpappninja_option('debugpush', '0') === '1' && $_GET['pagename'] == 'wpappninja' && $_GET['type'] == 'googlebearer') { 95 95 echo 'RESPONSE: '. $responseText; 96 96 echo "\r\n"; -
wpappninja/trunk/inc/functions/shortcodes.php
r3361270 r3374556 411 411 echo get_avatar( "", 90 ); 412 412 413 $__user = ( isset($_POST['uname']) ? $_POST['uname'] : '' );414 $__email = ( isset($_POST['uemail']) ? $_POST['uemail'] : '' );413 $__user = isset($_POST['uname']) ? sanitize_text_field($_POST['uname']) : ''; 414 $__email = isset($_POST['uemail']) ? sanitize_email($_POST['uemail']) : ''; 415 415 416 416 … … 423 423 <p class="login-username"> 424 424 <label for="uanme">'.__('Username', 'wpappninja').'</label> 425 <input style="width: 100%;padding: 10px;background: #fff;border: 1px solid #eee;" type="text" name="uname" class="input input-with-value" value="'. $__user.'" size="20">425 <input style="width: 100%;padding: 10px;background: #fff;border: 1px solid #eee;" type="text" name="uname" class="input input-with-value" value="'.esc_attr($__user).'" size="20"> 426 426 </p> 427 427 <p class="login-username"> 428 428 <label for="uemail">'.__('Email', 'wpappninja').'</label> 429 <input style="width: 100%;padding: 10px;background: #fff;border: 1px solid #eee;" type="email" name="uemail" class="input input-with-value" value="'. $__email.'" size="20">429 <input style="width: 100%;padding: 10px;background: #fff;border: 1px solid #eee;" type="email" name="uemail" class="input input-with-value" value="'.esc_attr($__email).'" size="20"> 430 430 </p> 431 431 -
wpappninja/trunk/readme.txt
r3361359 r3374556 12 12 13 13 == Changelog == 14 15 = 11.72 = 16 * Fix XSS on the login form 14 17 15 18 = 11.71 = -
wpappninja/trunk/wpappninja.php
r3361359 r3374556 4 4 Plugin URI: https://wpmobile.app/ 5 5 Description: Android and iOS mobile application. Easy setup, free test. 6 Version: 11.7 16 Version: 11.72 7 7 Author: Amauri 8 8 Author URI: https://wpmobile.app/ … … 15 15 16 16 // common 17 define( 'WPAPPNINJA_VERSION' , '11.7 1' );17 define( 'WPAPPNINJA_VERSION' , '11.72' ); 18 18 define( 'WPAPPNINJA_VERSION_APP' , '100' ); 19 19
Note: See TracChangeset
for help on using the changeset viewer.