mee.six
Member
Posted 7 months ago #
Hello,
I updated my plugin (http://wordpress.org/extend/plugins/yandex-maps-for-wordpress/) and changed version from 1.1 to 1.2. After comminting to SVN, Wordpress says, that current version in repository is 1.2, but when I try to upgrade plugin using "plugins" page in WP, I see that 1.11 version is newer. I've got no idea how 1.11 can be newer then 1.2, can someone help me with that?
thanks in advance,
mee
mee.six
Member
Posted 7 months ago #
I think that's because 1.11 is read as 1 point 11, and 11 being higher then 2.
Try using 1.1.1 and 1.2.0 ...etc
That's only a best guess...it may not help at all, but a suggestion nonetheless...
mee.six
Member
Posted 7 months ago #
great idea, thanks a lot!
You can always drop and add options while tesing...
update_option();
and
drop_option();
* See codex *
If you want to drop an old option just plonk it somewhere near the top of the file (drop_option that is), run the page (open it in your browser) once then remove the line after....
Assuming you're using the options table.. ;)