HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Version 3.1 is shown below version 3.03 in addons section. Some Bug I think

This discussion is related to the Nebula addon.
aeryaery Gtricks Forum in 2.2 :) ✭✭✭

Please see here - http://vanillaforums.org/addon/nebula-theme

Under versions detail, 3.1 is after 3.03.

There was an error rendering this rich post.


  • The PHP function in the VanillaAddons site that is providing the sort order is version_compare. This function splits on periods (and underscores and hyphens and plus signs) and then compares each part from left to right. So from your example:
    3 == 3
    1 < 03

    In your mind, it may seem like 3.03 is equivalent to 3.0.3 and 3.1 is equivalent to 3.1.0 but the former scheme is non-standard and ambiguous whereas the latter is well-understood and common.

    See Also: http://semver.org/

  • aeryaery Gtricks Forum in 2.2 :) ✭✭✭

    Thanks for the example. Unfortunately, I still did not get your example.

    There was an error rendering this rich post.

Sign In or Register to comment.