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