admin管理员组

文章数量:1122832

What is "stable tag" about and what should I put there...?

Requires at least: 4.5
Tested up to: 5.3.2
Stable tag: 1.0.0
License: GNU General Public License v2 or later

What is "stable tag" about and what should I put there...?

Requires at least: 4.5
Tested up to: 5.3.2
Stable tag: 1.0.0
License: GNU General Public License v2 or later
Share Improve this question edited Jan 4, 2020 at 7:13 RiddleMeThis 3,7878 gold badges21 silver badges30 bronze badges asked Jan 4, 2020 at 6:21 webfuelcodewebfuelcode 212 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 2

WordPress.org’s Plugin Directory works based on the information found in the field Stable Tag in the readme. When WordPress.org parses the readme.txt, the very first thing it does is to look at the readme.txt in the /trunk directory, where it reads the “Stable Tag” line. If the Stable Tag is missing, or is set to “trunk”, then the version of the plugin in /trunk is considered to be the stable version. If the Stable Tag is set to anything else, then it will go and look in /tags/ for the referenced version. So a Stable Tag of “1.2.3” will make it look for /tags/1.2.3/.

If you do not use a stable tag, everything will be read from the trunk location.

You can read more about it HERE.

本文标签: What is Stable Tag in WordPress plugin readme file