Changeset 1547028
- Timestamp:
- 12/07/2016 06:50:08 AM (9 years ago)
- Location:
- check-email/trunk
- Files:
-
- 2 edited
-
check-email.php (modified) (7 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
check-email/trunk/check-email.php
r1537145 r1547028 5 5 Description: Check email allows you to test if your WordPress installation is sending emails correctly. 6 6 Text Domain: check-email 7 Version: 0.5. 17 Version: 0.5.2 8 8 Author: Chris Taylor 9 9 Author URI: http://www.stillbreathing.co.uk … … 16 16 $register->slug = "checkemail"; 17 17 $register->name = "Check Email"; 18 $register->version = "0.5. 1";18 $register->version = "0.5.2"; 19 19 $register->developer = "Chris Taylor"; 20 20 $register->homepage = "http://www.stillbreathing.co.uk"; … … 99 99 <p>' . __( "Add X header:", "check-email" ) . ' ' . ini_get("mail.add_x_header") . '</p> 100 100 101 <h3>' . __( "Send a test email", "check- meail" ) . '</h3>101 <h3>' . __( "Send a test email", "check-email" ) . '</h3> 102 102 <form action="tools.php?page=checkemail" method="post"> 103 103 <p><label for="checkemail_to">' . __( "Send test email to:", "check-email" ) . '</label> 104 104 <input type="text" name="checkemail_to" id="checkemail_to" class="text"'; 105 105 if ( isset( $_POST["checkemail_to"] ) ) { 106 echo ' value="' . $_POST["checkemail_to"]. '"';106 echo ' value="' . esc_attr( $_POST["checkemail_to"] ) . '"'; 107 107 } 108 108 echo ' /></p> … … 135 135 <input type="text" name="checkemail_mime" id="checkemail_mime" value="'; 136 136 if ( isset( $_POST["checkemail_mime"] ) ) { 137 echo $_POST["checkemail_mime"];137 echo esc_attr( $_POST["checkemail_mime"] ); 138 138 } else { 139 139 echo '1.0'; … … 143 143 <input type="text" name="checkemail_type" id="checkemail_type" value="'; 144 144 if ( isset( $_POST["checkemail_type"] ) ) { 145 echo $_POST["checkemail_type"];145 echo esc_attr( $_POST["checkemail_type"] ); 146 146 } else { 147 147 echo 'text/html; charset=iso-8859-1'; … … 151 151 <input type="text" name="checkemail_from" id="checkemail_from" value="'; 152 152 if ( isset( $_POST["checkemail_from"] ) ) { 153 echo $_POST["checkemail_from"];153 echo esc_attr( $_POST["checkemail_from"] ); 154 154 } else { 155 155 echo $current_user->user_email; … … 159 159 <textarea name="checkemail_cc" id="checkemail_cc" cols="30" rows="4" class="text">'; 160 160 if ( isset( $_POST["checkemail_cc"] ) ) { 161 echo $_POST["checkemail_cc"];161 echo esc_textarea( $_POST["checkemail_cc"] ); 162 162 } 163 163 echo '</textarea></p> -
check-email/trunk/readme.txt
r1537145 r1547028 5 5 Requires at least: 2.7 6 6 Tested up to: 4.6.1 7 Stable tag: 0.5. 17 Stable tag: 0.5.2 8 8 9 9 Check email allows you to test if your WordPress installation is sending emails correctly by sending a test email to an address of your choice. Allows overriding of email headers and carbon copying to another address. … … 27 27 == Changelog == 28 28 29 0.5.2 Fixed un-encoded output related to XSS bug 29 30 0.5.1 Properly fixed XSS vulnerability (apologies) 30 31 0.5 Fixed XSS vulnerability found by Antonis Manaras
Note: See TracChangeset
for help on using the changeset viewer.