src/bundles/UI/HTML.php
private function _sanitize_class() {
		if ( isset( $this->attr['class'] ) && is_string( $this->attr['class'] ) ) {
			$this->attr['class'] = explode( ' ', $this->attr['class'] );
		}
		if ( !isset( $this->attr['class'] ) || !is_array( $this->attr['class'] ) ) {
			$this->attr['class'] = array();
		}
	}
private function _sanitize_class() {
		if ( isset( $this->attr['class'] ) && is_string( $this->attr['class'] ) ) {
			$this->attr['class'] = explode( ' ', $this->attr['class'] );
		}
		if ( !isset( $this->attr['class'] ) || !is_array( $this->attr['class'] ) ) {
			$this->attr['class'] = array();
		}
	}
private function _sanitize_class ( ) { if ( isset ( $ this -> attr [ 'class' ] ) && is_string ( $ this -> attr [ 'class' ] ) ) { $ this -> attr [ 'class' ] = explode ( ' ' , $ this -> attr [ 'class' ] ) ; } if ( ! isset ( $ this -> attr [ 'class' ] ) || ! is_array ( $ this -> attr [ 'class' ] ) ) { $ this -> attr [ 'class' ] = array ( ) ; } }
clean the classes attribute
clean the classes attribute