[wp-trac] [WordPress Trac] #26971: Plugin version string "0.9.8+git" shouldn't compare to less than "0.9.8" and trigger update notifications

WordPress Trac noreply at wordpress.org
Fri Jan 31 09:32:38 UTC 2014


#26971: Plugin version string "0.9.8+git" shouldn't compare to less than "0.9.8"
and trigger update notifications
-------------------------+-----------------------------
 Reporter:  lkraav       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Plugins      |    Version:  3.8
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Quite often I have had to clone plugin repos to patch errors or add
 features. This creates a problem where plugin header needs to be modified
 to differentiate instances in Plugins list. Conceptually, it feels like a
 sensible thing to modify the version string to something like "0.9.8+git",
 compared to modifying the plugin name. After all, we're not changing the
 name.

 As summary states, we get an update notification unless a workaround such
 as "0.9.8.9999+git" is used. Feels clumsy and unnecessary.

 Does this make sense to have for anybody else but me? If I come up with a
 simplistic patch, are there some big hidden version string comparison
 dragons to consider off the top?

 Btw Trac doesn't seem to have a 3.8.1 version string registered yet. Ping
 @nacin

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26971>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list