code/pages/WikiPage.php
public function revert() {
		if ($this->data()->IsModifiedOnStage) {
			$this->data()->doRevertToLive();
		}
		return $this->redirect($this->data()->Link() . '?stage=Live');
	}
public function revert() {
		if ($this->data()->IsModifiedOnStage) {
			$this->data()->doRevertToLive();
		}
		return $this->redirect($this->data()->Link() . '?stage=Live');
	}
public function revert ( ) { if ( $ this -> data ( ) -> IsModifiedOnStage ) { $ this -> data ( ) -> doRevertToLive ( ) ; } return $ this -> redirect ( $ this -> data ( ) -> Link ( ) . '?stage=Live' ) ; }
Option for the user to revert the changes made since it was last published
Option for the user to revert the changes made since it was last published