[wp-trac] [WordPress Trac] #32961: MS Sites List Table: Duplicate span elements are output for row actions

WordPress Trac noreply at wordpress.org
Sat Jul 11 01:43:59 UTC 2015


#32961: MS Sites List Table: Duplicate span elements are output for row actions
----------------------------------+----------------------------------------
 Reporter:  jeremyfelt            |       Owner:
     Type:  defect (bug)          |      Status:  new
 Priority:  normal                |   Milestone:  4.3
Component:  Networks and Sites    |     Version:  3.1
 Severity:  normal                |  Resolution:
 Keywords:  has-patch ui-         |     Focuses:  administration, multisite
  feedback                        |
----------------------------------+----------------------------------------
Changes (by jeremyfelt):

 * keywords:  has-patch => has-patch ui-feedback


Comment:

 One issue here is that the class names would change for sites that had
 been flagged. Previously, the spam action link and the unspam action link
 were both wrapped with a `<span class="spam"...`. The unspam link would
 end up being `<span class="spam"><span class="unspam"><a
 href="">Unspam</a></span></span>` and the red color attached to `.spam a`
 would be applied. The same change happens with activate/unactivate,
 archive/unarchive.

 We can add a rule to apply the same style to unspam or allow the color to
 change to blue. The attached screenshots show the visual change when a
 site is marked as spam.

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


More information about the wp-trac mailing list