[wp-trac] [WordPress Trac] #18132: Misleading message when deleting a user with no sites

WordPress Trac noreply at wordpress.org
Sat Feb 21 04:19:10 UTC 2015


#18132: Misleading message when deleting a user with no sites
--------------------------------------+------------------------
 Reporter:  danielbachhuber           |       Owner:  Idealien
     Type:  enhancement               |      Status:  assigned
 Priority:  normal                    |   Milestone:  4.2
Component:  Users                     |     Version:
 Severity:  trivial                   |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:  multisite
--------------------------------------+------------------------

Comment (by Idealien):

 Replying to [comment:16 jeremyfelt]:
 > Exactly my thinking, let's go with A. It may also be good to add some
 margin to the site listings under each user to help separate the sections.

 An improvement is uploading in 18132_FormTable.diff now. See
 https://cloudup.com/c5xlPhHVezn for screenshot of it in action. A few
 comments:

 * Did not find any existing CSS that just provided margins on a few
 searches, so I used table with class="form-table" that seems to be common
 through other parts of admin. Really makes the username in th of each row
 stand-out!

 * Any suggestions on better messaging than "User has no sites or content
 and will be deleted" for scenario where get_blogs_of_user returns no
 results?

 * I wasn't clear if the hidden field with user_id was needed in this non-
 action case but included it for consistency.

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


More information about the wp-trac mailing list