WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #12760


Ignore:
Timestamp:
03/31/2010 07:54:34 PM (10 years ago)
Author:
markjaquith
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12760

    • Property Owner set to markjaquith
    • Property Status changed from new to assigned
    • Property Version changed from 2.9.2 to 3.0
  • Ticket #12760 – Description

    initial v1  
    1 Using additional brackets [[shortcode]] for using shortcode in post works only when plugin (function) for this shortcode is active. But when deactivated, additional brackets are shown in post. It is annoying for many users, because editors sometimes test any plugin, wrote about it in post with shortcode example and after some months this plugin is deactivated. But in post there are misleading additional brackets. I did not find any solution to this problem...
     1Using additional brackets is the official way to "escape" a shortcode. e.g. {{{[[escaped]]}}}
     2
     3Using 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.
     4
     5Input:
     6
     7{{{[[shortcode_that_does_not_exist]]}}}
     8
     9Expected output, regardless of whether that plugin is active:
     10
     11{{{[shortcode_that_does_not_exist]}}}
     12
     13Actual output, if plugin is not active:
     14
     15{{{[[shortcode_that_does_not_exist]}}}
     16
     17[edited by Mark Jaquith]