[wp-trac] [WordPress Trac] #28150: Deleted blog message in wp_site_check() is misleading

WordPress Trac noreply at wordpress.org
Tue May 6 15:43:23 UTC 2014


#28150: Deleted blog message in wp_site_check() is misleading
--------------------------+-----------------------------
 Reporter:  boonebgorges  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.0
 Severity:  normal        |   Keywords:
  Focuses:  multisite     |
--------------------------+-----------------------------
 When attempting to load a blog that has been marked as deleted, WP
 currently throws the following `wp_die()` error: "This user has elected to
 delete their account and the content is no longer available."
 https://core.trac.wordpress.org/browser/tags/3.9/src/wp-includes/ms-
 load.php#L91

 It looks like the message has been the same since MU, where it was assumed
 (to some extent) that there'd be a one-to-one relationship between blogs
 and users.

 Now, the message is misleading. Often it's the case that the user account
 has *not* been deleted. Even when true, it's not generally relevant that
 the user has been deleted. I suggest the more accurate (and very generic)
 'This site is no longer available'. See attached patch.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28150>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list