public function feedback( $string ) {
		if ( isset( $this->upgrader->strings[ $string ] ) ) {
			$string = $this->upgrader->strings[ $string ];
		}

		if ( false !== strpos( $string, '%' ) ) {
			$args = func_get_args();
			$args = array_splice( $args, 1 );
			if ( $args ) {
				$args   = array_map( 'strip_tags', $args );
				$args   = array_map( 'esc_html', $args );
				$string = vsprintf( $string, $args );
			}
		}
		if ( empty( $string ) ) {
			return;
		}

		$this->messages[] = $string;
	}
public function feedback( $string ) {
		if ( isset( $this->upgrader->strings[ $string ] ) ) {
			$string = $this->upgrader->strings[ $string ];
		}

		if ( false !== strpos( $string, '%' ) ) {
			$args = func_get_args();
			$args = array_splice( $args, 1 );
			if ( $args ) {
				$args   = array_map( 'strip_tags', $args );
				$args   = array_map( 'esc_html', $args );
				$string = vsprintf( $string, $args );
			}
		}
		if ( empty( $string ) ) {
			return;
		}

		$this->messages[] = $string;
	}
public function feedback ( $ string ) { if ( isset ( $ this -> upgrader -> strings [ $ string ] ) ) { $ string = $ this -> upgrader -> strings [ $ string ] ; } if ( false !== strpos ( $ string , '%' ) ) { $ args = func_get_args ( ) ; $ args = array_splice ( $ args , 1 ) ; if ( $ args ) { $ args = array_map ( 'strip_tags' , $ args ) ; $ args = array_map ( 'esc_html' , $ args ) ; $ string = vsprintf ( $ string , $ args ) ; } } if ( empty ( $ string ) ) { return ; } $ this -> messages [ ] = $ string ; }
Overrides the feedback method.
Adds the feedback string to the messages array.

@param string $string
Overrides the feedback method . Adds the feedback string to the messages array .