classes/PodsAdmin.php
public function admin_upgrade() {

		foreach ( PodsInit::$upgrades as $old_version => $new_version ) {
			if ( version_compare( $old_version, PodsInit::$version_last, '<=' ) && version_compare( PodsInit::$version_last, $new_version, '<' ) ) {
				$new_version = str_replace( '.', '_', $new_version );

				pods_view( PODS_DIR . 'ui/admin/upgrade/upgrade_' . $new_version . '.php', compact( array_keys( get_defined_vars() ) ) );

				break;
			}
		}
	}
public function admin_upgrade() {

		foreach ( PodsInit::$upgrades as $old_version => $new_version ) {
			if ( version_compare( $old_version, PodsInit::$version_last, '<=' ) && version_compare( PodsInit::$version_last, $new_version, '<' ) ) {
				$new_version = str_replace( '.', '_', $new_version );

				pods_view( PODS_DIR . 'ui/admin/upgrade/upgrade_' . $new_version . '.php', compact( array_keys( get_defined_vars() ) ) );

				break;
			}
		}
	}
public function admin_upgrade ( ) { foreach ( PodsInit :: $ upgrades as $ old_version => $ new_version ) { if ( version_compare ( $ old_version , PodsInit :: $ version_last , '<=' ) && version_compare ( PodsInit :: $ version_last , $ new_version , '<' ) ) { $ new_version = str_replace ( '.' , '_' , $ new_version ) ; pods_view ( PODS_DIR . 'ui/admin/upgrade/upgrade_' . $ new_version . '.php' , compact ( array_keys ( get_defined_vars ( ) ) ) ) ; break ; } } }
Get the admin upgrade page
Get the admin upgrade page