[wp-hackers] WordPress Import/Export

Dougal Campbell dougal at gunters.org
Thu Jul 6 18:38:50 GMT 2006

Aaron Brazell wrote:
> On 7/5/06, Matt Mullenweg <m at mullenweg.com> wrote:
>> Aaron Brazell wrote:
>> Aaron, I would change how you check version to just see if the first
>> three characters match "1.5" or "2.0".
> Will do. Not sure why I didn't think of that.

I'm kind of partial to reformatting version numbers as a 4-digit 'MMmm' 
(MAJOR/minor, e.g., '0105', '0200', '0201') format. Even though it's 
unlikely that we'll be dealing with double-digit versions anytime soon, 
it's still a forward-looking way to easily compare versions.

Just a thought.

Dougal Campbell <dougal at gunters.org>

More information about the wp-hackers mailing list