Escaping Checker

Plugin Banner

Escaping Checker

by Tom J Nowell

Download
Description

This plugin adds a shortcode that when used inserts an escaping checker. The checker gives you a form you can enter potentially unsafe content into, and when submitted, passes that content through every sanitisation, validation and escaping function in WordPress Core, and some PHP Core functions

  1. Upload the plugin folder into the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place the [tomjn_escaping_tests] in a page or post and save

If you prefer to create a dedicate page template, use echo tomjn_escaping_tests();

  1. The escaping form

    The escaping form

Installation Instructions

  1. Upload the plugin folder into the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place the [tomjn_escaping_tests] in a page or post and save

If you prefer to create a dedicate page template, use echo tomjn_escaping_tests();

There’s a Lot of Escaping Functions!

Yes! But not every function listed here is an escaping function, there are validation and sanitising functions too, some of them are PHP Core functions rather than WordPress functions

Very useful

By shanebp on October 13, 2021

Good tool.

1.1

  • Put a green or yellow border around output depending on wether it matches the original input
  • Bumped tested WP version to 4.9.5

1.0

  • Added behave.js to make typing content easier
Back to top