Opened 6 years ago

Closed 4 years ago

#3460 closed enhancement (wontfix)

Plugin Readme Validator Should Error on Size

Reported by: ipstenu's profile 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 4 years 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
6 years ago

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

Related: #3499

4 years ago

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

#2 @dufresnesteven
4 years 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
4 years 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.