Making WordPress.org

Opened 3 years ago

Last modified 12 months ago

#2107 accepted enhancement

Prevent posting 10k lines of logs in replies, recommend Pastebin or GitHub gists

Reported by: ocean90 Owned by: tellyworth
Milestone: Q1 Priority: low
Component: Support Forums Keywords:


To provide debugging information some users post their full logs in a reply. These can be up to 10k lines which makes reading the page really annoying because you have to scroll like 5 minutes.


I suggest to prevent posting replies which have more than X chars/words/lines and to recommend using a service like Pastebin or GitHub gists.

Change History (4)

This ticket was mentioned in Slack in #forums by clorith. View the logs.

23 months ago

#2 @Clorith
23 months ago

We are encouraging users to get debug data, and with our hopes of getting something for it into core, it would be a bad experience to then ship them off to a 3rd party site before making a post, adding another barrier basically.

What may work as a compromise here, is detecting if they're posting mass amounts of text without any code tags, and if they are show a warning like this:

You are about to post a very large amount of plain text. For improved readability, we will wrap it in code tags. You may want to consider splitting up your content, or using a paste service if this is not desirable.

If they still post it as is, we would wrap it in code tags for readability, the user was warned this would happen but chose to go with it.

#3 @tellyworth
13 months ago

  • Milestone set to Q1

Somewhat related to #815

#4 @tellyworth
12 months ago

  • Owner set to tellyworth
  • Status changed from new to accepted
Note: See TracTickets for help on using tickets.