We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b945158 commit 689ce2aCopy full SHA for 689ce2a
WordPress/Classes/ViewRelated/Blog/Site Management/DeleteSiteViewController.swift
@@ -260,6 +260,9 @@ open class DeleteSiteViewController: UITableViewController {
260
261
// Pop the primary navigation controller back to the sites list
262
primaryNavigationController.popToRootViewController(animated: true)
263
+ } else if let presentingViewController {
264
+ // This view is presented as a modal on iPad.
265
+ presentingViewController.dismiss(animated: true)
266
}
267
268
0 commit comments