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



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

  • sorry but this is not really an answer. why is it better?, what is it better in? – Mark Kaplun May 1 '17 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 May 1 '17 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. – Mark Kaplun May 2 '17 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 May 2 '17 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 May 2 '17 at 17:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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