[wp-trac] [WordPress Trac] #26170: Replace PNG-based ratings stars with dashicons

WordPress Trac noreply at wordpress.org
Mon Nov 25 05:57:55 UTC 2013


#26170: Replace PNG-based ratings stars with dashicons
----------------------------+--------------------
 Reporter:  iammattthomas   |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.8
Component:  Administration  |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  ui-focus        |
----------------------------+--------------------

Comment (by dd32):

 [attachment:26170.diff] is a implementation using Dashicons and a helper
 function.

 Since we don't currently have a half-star, I've just gone with a
 placeholder of a lighter colour for the .5 star for now.

 It completely removes the `.star-holder` styling (I went with `.star-
 rating` to avoid conflicts) of past, however we can leave that for back-
 compat if need be.
 With the old styling removed, old-style star ratings simply fail to load,
 they don't take up space or look bad, they just vanish.

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


More information about the wp-trac mailing list