src/class-upgrader.php
protected function upgrade_to_050() {
		if ( $this->options->installed_version ) {
			return;
		}

		$this->upgrade_cron();
		$this->upgrade_options();
		$this->upgrade_results();

		$this->delete_vulnerabilities();

		// Set installed version so upgrader does not run again.
		$this->options->get_store()->set( 'installed_version', '0.5.0' );
	}
protected function upgrade_to_050() {
		if ( $this->options->installed_version ) {
			return;
		}

		$this->upgrade_cron();
		$this->upgrade_options();
		$this->upgrade_results();

		$this->delete_vulnerabilities();

		// Set installed version so upgrader does not run again.
		$this->options->get_store()->set( 'installed_version', '0.5.0' );
	}
protected function upgrade_to_050 ( ) { if ( $ this -> options -> installed_version ) { return ; } $ this -> upgrade_cron ( ) ; $ this -> upgrade_options ( ) ; $ this -> upgrade_results ( ) ; $ this -> delete_vulnerabilities ( ) ; // Set installed version so upgrader does not run again. $ this -> options -> get_store ( ) -> set ( 'installed_version' , '0.5.0' ) ; }
Required logic for upgrading to v0.5.0.

@return void
Required logic for upgrading to v0 . 5 . 0 .