That sounds like the expected behaviour to me, You're reading it as a decimal, whereas, WordPress is reading it as a version string. 0.75 vs 0.8 - decimal 0.75 vs 0.08 - how version strings work in PHP
If in future you want a version between 0.7 and 0.8, you'd be best using 0.7.1 or 0.7.5 - the format is major.minor.patch-release that format will work how you expect :) D On 16 September 2011 17:45, Andy Warburton <[email protected]> wrote: > Hey guys, > > Sorry if this is the wrong list, I couldn't find one that was totally > appropriate. > > Yesterday I was uploading a theme to WordPress.org at this URL: > > http://wordpress.org/extend/themes/upload/ > > The version number of my old theme was 0.75, the new theme was 0.8 however > the theme uploader generated an error saying that the new version number had > to be higher than the old one. Obviously this is an error in the logic that > compares version numbers. > > To get round it, I numbered my new theme 0.80 and all was well. > > I hope someone here has the ability to let the guys at Automattic know about > this. > > Thanks > > Andy > _______________________________________________ > wp-testers mailing list > [email protected] > http://lists.automattic.com/mailman/listinfo/wp-testers > _______________________________________________ wp-testers mailing list [email protected] http://lists.automattic.com/mailman/listinfo/wp-testers
