Changeset 38314
- Timestamp:
- 08/22/2016 09:09:03 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/wp-db.php
r38289 r38314 1175 1175 * @uses wpdb::_real_escape() 1176 1176 * @since 2.8.0 1177 * @access p rivate1177 * @access public 1178 1178 * 1179 1179 * @param string|array $data 1180 1180 * @return string|array escaped 1181 1181 */ 1182 function _escape( $data ) {1182 public function _escape( $data ) { 1183 1183 if ( is_array( $data ) ) { 1184 1184 foreach ( $data as $k => $v ) { 1185 if ( is_array( $v) )1185 if ( is_array( $v ) ) { 1186 1186 $data[$k] = $this->_escape( $v ); 1187 else1187 } else { 1188 1188 $data[$k] = $this->_real_escape( $v ); 1189 } 1189 1190 } 1190 1191 } else {
Note: See TracChangeset
for help on using the changeset viewer.