Revision 656
Added by thorn over 17 years ago
| class.wb.php | ||
|---|---|---|
| 137 | 137 |
} |
| 138 | 138 |
|
| 139 | 139 |
// Ditto for stripslashes |
| 140 |
// Attn: this is _not_ the counterpart to $this->add_slashes() ! |
|
| 141 |
// Use stripslashes() to undo a preliminarily done $this->add_slashes() |
|
| 142 |
// The purpose of $this->strip_slashes() is to undo the effects of magic_quotes_gpc==On |
|
| 140 | 143 |
function strip_slashes($input) {
|
| 141 | 144 |
if ( !get_magic_quotes_gpc() || ( !is_string($input) ) ) {
|
| 142 | 145 |
return $input; |
Also available in: Unified diff
Added some missing add_slashes(), get_post_escaped(), and strip_tags() for $_POST, $_GET and $_REQUEST-data. Also for $_SERVER['PHP_SELF'].