Making WordPress.org

Opened 16 months ago

Last modified 16 months ago

#5374 new enhancement

Block trac ticket submissions with inappropriate language

Reported by: tellyworth Owned by:
Milestone: Priority: normal
Component: Trac Keywords:


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
16 months 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.