[geeklog-devel] To-do list for Geeklog 1.6.1, part 1
Randy Kolenko
Randy.Kolenko at nextide.ca
Wed Oct 14 11:27:53 EDT 2009
Whooops! Hit send to fast.
Version_compare is fine, but it considers 1.0.0 > 1.0 > 1
This requires some translation to make 1.0 look like 1.0.0 etc. This
should be a function.
I've written it already and I've tucked it into the autoinstall.php for
the plugin -- however it's a function that all of our plugins would use.
Which means I'll have to copy it across all autoinstall.php files. The
alternative is to pop it into the core. But again, I don't want to do
that without agreement.
-randy
> Is this only meant to compare version numbers? If so, PHP
> already has
> a version_compare function. Or, if you want to take Geeklog version
> naming conventions into account, have a look at
>
More information about the geeklog-devel
mailing list