[wp-trac] [WordPress Trac] #15801: Network Admin: Deactivated / Deleted inconsistency

WordPress Trac noreply at wordpress.org
Wed Aug 14 20:32:30 UTC 2013


#15801: Network Admin: Deactivated / Deleted inconsistency
--------------------------+-----------------------
 Reporter:  kawauso       |       Owner:  PeteMall
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  3.7
Component:  Text Changes  |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------

Comment (by martythornley):

 I played with some of the wording in those links and some seem to work
 better than others.

 It seems from the user level, they go through the delete site process and
 to them the site is gone. But really to the Super Admin it is "marked for
 deletion" which seems an even better label to me than "deactivated".

 As a Super Admin, when we deactivate and reactivate a site, it is like
 trash/untrash or again, marking for possible deletion.

 Once sites are "marked for deletion" or in the trash, we can use the
 "Delete" link to do it permanently.

 Changing the wording of the links makes the super admin process make more
 sense, but it starts messing with the flags and would be inconsistent when
 looking at the code.

 However, the get_blog_status and update_blog_status are only called a
 couple times in core and it would seem to not too difficult to run a quick
 update that says if the blog status is called 'deleted' update that to
 'trash'. Or whatever the decided wording is. Or am I missing other areas
 that rely on those flags?

 Another, farther reaching idea...

 Could we somehow change the blog status to an array that can be whatever
 we want? That way a blog could be multiple things at once - A blog could
 be 'Mature', "Spam', and 'Trash" all at once? Or any number of custom
 status that a plugin might build like "Awesome", "Promoted", etc...

--
Ticket URL: <http://core.trac.wordpress.org/ticket/15801#comment:19>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list