[wp-trac] [WordPress Trac] #32934: Network Admin: Avoid notice when visiting `network/site-*` URLs for a previously deleted site

WordPress Trac noreply at wordpress.org
Thu Jul 9 16:28:44 UTC 2015


#32934: Network Admin: Avoid notice when visiting `network/site-*` URLs for a
previously deleted site
--------------------------------+-------------------------
 Reporter:  jeremyfelt          |       Owner:  jeremyfelt
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:  4.3
Component:  Networks and Sites  |     Version:  3.1
 Severity:  normal              |  Resolution:  fixed
 Keywords:  has-patch           |     Focuses:  multisite
--------------------------------+-------------------------
Changes (by jeremyfelt):

 * owner:   => jeremyfelt
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"33144"]:
 {{{
 #!CommitTicketReference repository="" revision="33144"
 Avoid PHP notice when attempting to edit a site that does not exist.

 Show a more explicit error - "The requested site does not exist."

 Fixes #32934.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32934#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list