-1

Semantic Version has 3 digits for versioning of the code (1.0.0.), is Explicit Versioning with 4 digits (1.0.0.0.) and not 100% API focus a better approach for Wordpress or Drupal developers?

https://github.com/colomet/Explicit-Versioning

2

1 Answer 1

-1

Semantic versioning is better for WordPress.

I used 4 digits in one of my plugin versions once and it didn't play nice.

Here's a page from Make WordPress Core

7
  • sorry but this is not really an answer. why is it better?, what is it better in? Commented May 1, 2017 at 18:36
  • It is better to use semantic versioning for WordPress plugins so the version numbers are consistent with updates, alerting the user that there is a new update at the correct time. It's also in line with WordPress core... So that's why it would be better to use it in WordPress plugins. OP asked for best approach to WordPress development. I can't answer for Drupal, but it certainly applies to WordPress @MarkKaplun
    – Benbodhi
    Commented May 1, 2017 at 22:24
  • users rarely know what version they have installed.... either they get the upgrade notification or they don't upgrade. In one of my plugins I went from a 4.1 version to 4.6 and literally no one asked about it. Commented May 2, 2017 at 3:11
  • Ok, fair enough. But isn't it fair to say for WordPress that semantic versioning is recommended for development in WordPress plugins since core uses it themselves? If not for anything else but consistency?
    – Benbodhi
    Commented May 2, 2017 at 7:06
  • @BenbodhiMantra wordpress core do not use semantic versioning. WP increase the Minor from 1 to 0 and then change the Major in phases of development time, not if there is a breack or a feature..
    – Colomet
    Commented May 2, 2017 at 17:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.