<form method="post" action="<?php
echo $referer ?
esc_url( $referer ) : ''; ?>" style="display:inline;">
<?php
submit_button( __( 'No, return me to the theme list'
), '', 'submit', false
); ?>
</form>
</div>
<?php
require_once ABSPATH . 'wp-admin/admin-footer.php';
exit;
} // End if verify-delete.
foreach ( $themes as $theme ) { $delete_result =
delete_theme( $theme,
esc_url( add_query_arg( array
( 'verify-delete' => 1,
'action' => 'delete-selected',
'checked' =>
$_REQUEST['checked'
],
'_wpnonce' =>
$_REQUEST['_wpnonce'
],
),
network_admin_url( 'themes.php'
) ) )