WordPress.org

Ready to get started?Download WordPress

Forums

Problem with my plugin's versions (5 posts)

  1. meesix
    Member
    Posted 4 years 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

  2. meesix
    Member
    Posted 4 years ago #

    Anyone?

  3. t31os
    Member
    Posted 4 years 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...

  4. meesix
    Member
    Posted 4 years ago #

    great idea, thanks a lot!

  5. t31os
    Member
    Posted 4 years ago #

    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.. ;)

Topic Closed

This topic has been closed to new replies.

About this Topic