Making WordPress.org

Opened 4 years ago

Last modified 4 years ago

#5374 new enhancement

Block trac ticket submissions with inappropriate language

Reported by: tellyworth's profile tellyworth Owned by:
Milestone: Priority: normal
Component: Trac Keywords:
Cc:

Description

Occasionally a trac ticket gets submitted with.. heated language.

Users get frustrated, which is understandable. We should discourage this by requiring they re-write the ticket if it contains a handful of forbidden words. Perhaps by disabling the Create Ticket button until it passes a simple check.

Change History (1)

#1 @dd32
4 years ago

This should be implemented similar to the security warnings, and in a separate file to the regular Trac JS.
Some clean-web type filters will detect bad words in a JS file and block it's loading.

Security file: https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html/style/trac/trac-security.js

Note: See TracTickets for help on using tickets.