' . ( $theme_rollback == true ? __( 'theme', 'wp-rollback' ) : __( 'plugin', 'wp-rollback' ) ) . '', '' . esc_html( $args['current_version'] ) . '', '' . esc_html( $args['rollback_name'] ) . '' ) ); ?>
versions_select( 'plugin' );
} elseif ( $theme_rollback == true && isset( $_GET['theme_file'] ) ) {
// B: Theme rollback: set up our theme vars
$svn_tags = WP_Rollback()->get_svn_tags( 'theme', $_GET['theme_file'] );
WP_Rollback()->set_svn_versions_data( $svn_tags );
$this->current_version = $_GET['current_version'];
$versions = WP_Rollback()->versions_select( 'theme' );
} else {
// Fallback check
wp_die( __( 'Oh no! We\'re missing required rollback query strings. Please contact support so we can check this bug out and squash it!', 'wp-rollback' ) );
}
?>