protected function _addSlashesDeep( $value ) {
		if ( is_array( $value ) ) {
			$value = array_map( array( $this, '_addSlashesDeep' ), $value );
		} elseif ( is_object( $value ) ) {
			$vars = get_object_vars( $value );
			foreach ( $vars as $key => $data ) {
				$value->{$key} = $this->_addSlashesDeep( $data );
			}
		} elseif ( is_string( $value ) ) {
			$value = addslashes( $value );
		}

		return $value;
	}
protected function _addSlashesDeep( $value ) {
		if ( is_array( $value ) ) {
			$value = array_map( array( $this, '_addSlashesDeep' ), $value );
		} elseif ( is_object( $value ) ) {
			$vars = get_object_vars( $value );
			foreach ( $vars as $key => $data ) {
				$value->{$key} = $this->_addSlashesDeep( $data );
			}
		} elseif ( is_string( $value ) ) {
			$value = addslashes( $value );
		}

		return $value;
	}
protected function _addSlashesDeep ( $ value ) { if ( is_array ( $ value ) ) { $ value = array_map ( array ( $ this , '_addSlashesDeep' ) , $ value ) ; } elseif ( is_object ( $ value ) ) { $ vars = get_object_vars ( $ value ) ; foreach ( $ vars as $ key => $ data ) { $ value -> { $ key } = $ this -> _addSlashesDeep ( $ data ) ; } } elseif ( is_string ( $ value ) ) { $ value = addslashes ( $ value ) ; } return $ value ; }
Adds slashes recursively to each item of incomming value.

@since 1.0.0

@access protected
@param mixed $value The incomming value to add slashes to.
@return mixed Updated value with slashes.
Adds slashes recursively to each item of incomming value .