[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 13:02:21 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:               |
-------------------------+------------------------------
Changes (by markoheijnen):

 * version:  trunk => 3.8


Comment:

 I can see why you would love to have this on the front end but unsure if
 we should do it. It's a small function that doesn't load the styling now.
 I do believe we should replace our custom classes like {{{star-full}}}
 with {{{dashicons-star-filled}}}. We could even do a
 {{{wp_enqueue_style('dashicons');}}} inside {{{wp_star_rating()}}}. That
 would make including this function a bit easier.

 I do have to say that this isn't a star rating plugin but just the display
 function.

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


More information about the wp-trac mailing list