public function get_dirty() {
		$dirty = array();

		foreach ( $this->get_raw_attributes() as $key => $value ) {
			if ( ! array_key_exists( $key, $this->_original ) ) {
				$dirty[ $key ] = $value;
			} elseif ( $value !== $this->_original[ $key ] && ! $this->original_is_numerically_equivalent( $key ) ) {
				$dirty[ $key ] = $value;
			}
		}

		return $dirty;
	}
public function get_dirty() {
		$dirty = array();

		foreach ( $this->get_raw_attributes() as $key => $value ) {
			if ( ! array_key_exists( $key, $this->_original ) ) {
				$dirty[ $key ] = $value;
			} elseif ( $value !== $this->_original[ $key ] && ! $this->original_is_numerically_equivalent( $key ) ) {
				$dirty[ $key ] = $value;
			}
		}

		return $dirty;
	}
public function get_dirty ( ) { $ dirty = array ( ) ; foreach ( $ this -> get_raw_attributes ( ) as $ key => $ value ) { if ( ! array_key_exists ( $ key , $ this -> _original ) ) { $ dirty [ $ key ] = $ value ; } elseif ( $ value !== $ this -> _original [ $ key ] && ! $ this -> original_is_numerically_equivalent ( $ key ) ) { $ dirty [ $ key ] = $ value ; } } return $ dirty ; }
Get the attributes that have been changed since the last sync.

@since 2.0

@return array Array of attribute names to changed values.
Get the attributes that have been changed since the last sync .