Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Addition/Suggestion: Version Number should be a constant.
#1
I was thinking that the Version number should be a constant, or a function like get_version_number().

The reason I'm suggesting this, is because if you are developing plugins that are backward compatible I need to know the current version of the App.

I know I can use
Code:
$site_version_no
but, for future documentation and standardization it makes more sense to user a constant such as, VERSION_NUMBER or like I mentioned before, a simple function that returns the current version number.

Let me know what you guys think.
- Julian

My GetSimple Plugins: Simple Image Gallery | TweetMeme reTweet Button
Reply
#2
i never thought of this.... good idea. I will implement it in common.php
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply




Users browsing this thread: 1 Guest(s)