[wp-trac] [WordPress Trac] #26774: Move wp_star_rating() to be more accessible on the front end

WordPress Trac noreply at wordpress.org
Sun Jan 5 19:10:58 UTC 2014


#26774: Move wp_star_rating() to be more accessible on the front end
-------------------------+------------------------------
 Reporter:  dgwyer       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Formatting   |     Version:  3.8
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by dgwyer):

 @kpdesign Thanks for the speedy correction Kim.

 @markoheijnen:

 It would be nice to use it on the front end if possible but I'm aware
 there are some considerations. It also depends on if we want to force
 usage of dashicons with `wp_star_rating()`?

 If we want to give users flexibility to use their own font icons then I'm
 thinking the CSS selectors should remain generic. Also, dashicons could be
 enqueued by default inside `wp_star_rating()` as you suggested, but
 optionally turned off via an argument if needed.

 That would make the function both easier to include and flexible at the
 same time.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26774#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list