Escaping shortcode conditionally — at Version 1
|Reported by:||pavelevap||Owned by:||markjaquith|
Description (last modified by markjaquith)
Using additional brackets is the official way to "escape" a shortcode. e.g. [[escaped]]
Using additional brackets [[shortcode]] in a post works only when the plugin (function) for this shortcode is active. When deactivated, additional brackets are shown in the post. It is annoying for many users, because editors sometimes test a plugin, write about it in a post with shortcode example and after some months this plugin is deactivated. Now there will be additional brackets, breaking their example code.
Expected output, regardless of whether that plugin is active:
Actual output, if plugin is not active:
[edited by Mark Jaquith]