Closed blogjunkie closed 7 years ago
I would love to see what @rrennick and @nathanrice think about this. if it's good, I've love to include this in the update as we've had a number of caching issues.
@rrennick Would it take long for you to write code/issue a PR to cover this in concept?
@bgardner no, I'll submit one in a few minutes.
Thank you @rrennick & @bgardner !
The previous versions of the plugin hard-coded the version number 1.0.12 in the
wp_enqueue_style()
function. This caused lots of caching issues and broken display of the icons e.g.https://wordpress.org/support/topic/update-to-2-0-borked-existing-icons/ https://wordpress.org/support/topic/update-2-0-ruined-plugin/
I added a
plugin_version()
method to return the plugin version from the header metadata and used that inwp_enqueue_style()
instead.This is my first ever pull request so please explain it like I'm 5 if you have feedback. Thank you!