Making WordPress.org

Changeset 11214


Ignore:
Timestamp:
08/30/2021 11:47:57 PM (3 years ago)
Author:
Ipstenu
Message:

Update example readme foe plugins:

  • clarity about trunk (no longer recommended)
  • Formatting examples
  • cleaning up line breaks
  • removing duped language

Fixes 5876

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/readme/readme.txt

    r9807 r11214  
    22Contributors: (this should be a list of wordpress.org userid's)
    33Donate link: https://example.com/
    4 Tags: comments, spam
     4Tags: tag1, tag2
    55Requires at least: 4.7
    66Tested up to: 5.4
     
    2121A few notes about the sections above:
    2222
    23 *   "Contributors" is a comma separated list of wordpress.org usernames
    24 *   "Tags" is a comma separated list of tags that apply to the plugin
    25 *   "Requires at least" is the lowest version that the plugin will work on
    26 *   "Tested up to" is the highest version that you've *successfully used to test the plugin*. Note that it might work on
    27 higher versions... this is just the highest one you've verified.
    28 *   Stable tag should indicate the Subversion "tag" of the latest stable version, or "trunk," if you use `/trunk/` for
    29 stable.
     23* "Contributors" is a comma separated list of wordpress.org usernames
     24* "Tags" is a comma separated list of tags that apply to the plugin
     25* "Requires at least" is the lowest version that the plugin will work on
     26* "Tested up to" is the highest version that you've *successfully used to test the plugin*
     27* Stable tag must indicate the Subversion "tag" of the latest stable version
    3028
    31     Note that the `readme.txt` of the stable tag is the one that is considered the defining one for the plugin, so
    32 if the `/trunk/readme.txt` file says that the stable tag is `4.3`, then it is `/tags/4.3/readme.txt` that'll be used
    33 for displaying information about the plugin.  In this situation, the only thing considered from the trunk `readme.txt`
    34 is the stable tag pointer.  Thus, if you develop in trunk, you can update the trunk `readme.txt` to reflect changes in
    35 your in-development version, without having that information incorrectly disclosed about the current stable version
    36 that lacks those changes -- as long as the trunk's `readme.txt` points to the correct stable tag.
     29Note that the `readme.txt` value of stable tag is the one that is the defining one for the plugin.  If the `/trunk/readme.txt` file says that the stable tag is `4.3`, then it is `/tags/4.3/readme.txt` that'll be used for displaying information about the plugin.
    3730
    38     If no stable tag is provided, it is assumed that trunk is stable, but you should specify "trunk" if that's where
    39 you put the stable version, in order to eliminate any doubt.
     31If you develop in trunk, you can update the trunk `readme.txt` to reflect changes in your in-development version, without having that information incorrectly disclosed about the current stable version that lacks those changes -- as long as the trunk's `readme.txt` points to the correct stable tag.
     32
     33If no stable tag is provided, your users may not get the correct version of your code.
    4034
    4135== Frequently Asked Questions ==
     
    5145== Screenshots ==
    5246
    53 1. This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is stored in the /assets directory.
     471. This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Screenshots are stored in the /assets directory.
    54482. This is the second screen shot
    5549
     
    7367== A brief Markdown Example ==
    7468
     69Markdown is what the parser uses to process much of the readme file.
     70
     71[markdown syntax]: https://daringfireball.net/projects/markdown/syntax
     72
    7573Ordered list:
    7674
     
    8583* third thing
    8684
    87 Here's a link to [WordPress](https://wordpress.org/ "Your favorite software") and one to [Markdown's Syntax Documentation][markdown syntax].
    88 Titles are optional, naturally.
     85Links require brackets and parenthesis:
    8986
    90 [markdown syntax]: https://daringfireball.net/projects/markdown/syntax
    91             "Markdown is what the parser uses to process much of the readme file"
     87Here's a link to [WordPress](https://wordpress.org/ "Your favorite software") and one to [Markdown's Syntax Documentation][markdown syntax]. Link titles are optional, naturally.
    9288
    93 Markdown uses email style notation for blockquotes and I've been told:
     89Blockquotes are email style:
     90
    9491> Asterisks for *emphasis*. Double it up  for **strong**.
    9592
    96 `<?php code(); // goes in backticks ?>`
     93And Backticks for code:
     94
     95`<?php code(); ?>`
Note: See TracChangeset for help on using the changeset viewer.