Changeset 5104
- Timestamp:
- 09/05/2011 04:09:06 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/bp-forums/bp-forums-bbpress-sa.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-bbpress-sa.php
r4821 r5104 198 198 199 199 function escape_deep( $data ) { 200 if ( is_array( $data ) ) { 201 foreach ( (array) $data as $k => $v ) { 202 if ( is_array( $v ) ) { 203 $data[$k] = $this->_escape( $v ); 204 } else { 205 $data[$k] = $this->_real_escape( $v ); 206 } 207 } 208 } else { 209 $data = $this->_real_escape( $data ); 210 } 211 212 return $data; 200 return $this->escape( $data ); 213 201 } 214 202 }
Note: See TracChangeset
for help on using the changeset viewer.