WordPress ticket #19927: Improve support escaping a shortcode tag
Earlier today I raised a problem on WordPress to fix something that I have been fighting with ever since I started writing oik.
To read about the problem see Ticket #19927
It’s a simple fix to the WordPress code; a lot harder elsewhere.
I provided a .diff file against the latest version of the code, so hopefully the core team will accept the fix.
In a nutshell it says use [ instead of ‘[‘ to prevent further shortcode expansion
Note: In oik version 1.10 I no longer add the do_shortcode filter for ‘the_content’ but I do still add it for both ‘get_the_content’ and ‘the_content’. So, with Artisteer generated themes escaped shortcodes may still get expanded on the blog page… or when expanded as a result of oik shortcodes which list posts. e.g. [bw_pages]
