Making WordPress.org

Opened 3 years ago

Closed 3 years ago

#7412 closed enhancement (fixed)

Add more checks in readme parser

Reported by: rabmalin Owned by: dd32
Priority: normal Milestone:
Component: Plugin Directory Keywords: has-patch
Cc:

Description

Ref - https://github.com/WordPress/wordpress.org/blob/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/readme/class-parser.php

We could expand the checks in readme parser like:

  • Warn if there are more than 5 tags
  • Warn if original short description is more than 150 characters

Change History (3)

#1 @dd32
3 years ago

  • Component WordPress.org SitePlugin Directory

#3 @dd32
3 years ago

  • Owner set to dd32
  • Resolutionfixed
  • Status newclosed

In 13133:

Plugin Directory: Readme: Expand the number of warnings generated by the Readme parser.

This will allow for tools which reuse it to detect and warn about more invalid cases.

Props dd32, rabmalin, mukesh27.
Closes https://github.com/WordPress/wordpress.org/pull/190.
Fixes #7412.

Note: See TracTickets for help on using tickets.