Making WordPress.org

Opened 4 years ago

Closed 19 months ago

#3460 closed enhancement (wontfix)

Plugin Readme Validator Should Error on Size

Reported by: Ipstenu Owned by:
Milestone: Priority: normal
Component: Plugin Directory Keywords:



If a readme.txt is over 10k it should throw an error (not warning) as that will stop parsing right.

We should show warnings at 8k I think, since that's when they'll start to get into trouble.

Attachments (1)

3460.diff (1.9 KB) - added by dufresnesteven 23 months ago.
Add a warning to display to the user if the readme size is larger than 8kb.

Download all attachments as: .zip

Change History (4)

#1 @dd32
4 years ago

  • Component changed from General to Plugin Directory
  • Type changed from defect to enhancement

Related: #3499

23 months ago

Add a warning to display to the user if the readme size is larger than 8kb.

#2 @dufresnesteven
23 months ago

I added a warning that gets displayed at the bottom of the list if the readme file/data exceeds 8kb.

I added this copy:

"Your readme file is large. Try to reduce content to keep it more concise."

Open to better suggestions!

#3 @dd32
19 months ago

  • Resolution set to wontfix
  • Status changed from new to closed

I'm going to close this as wontfix - I don't think this is really a problem that's worth documenting in this manner.

The maximum length of a readme is really limited by parsing memory, as the database limit is about 4GB. The old bbPress plugin directory was limited to about 8KB due to the different data storage method.

Note: See TracTickets for help on using tickets.