[wp-hackers] Shortcodes and formatting
Aaron D. Campbell
aaron at xavisys.com
Wed Apr 2 00:44:23 GMT 2008
Check out http://trac.wordpress.org/ticket/6444
The diffs there (both of them) cause formatting to treat [] as <>, and
skip over them. Although, that's not really the focus of the ticket.
It main purpose is to either move processing of shortCodes to AFTER post
processing is done (priority 11), or allow them to work before OR after
(priority 9 or 11).
Andrew Ozz wrote:
> Mark Jaquith wrote:
>> Sidenote: we'd need to strip <p>\[$shortcode( .*?\]|\])</p> out, for
>> shortcodes entered on their own line.
> Yes, something like that will have to be added to both js and php
> versions of wpautop. It will also have to support the above shortcode
> format too and treat it as <pre> tag, not changing anything inside.
More information about the wp-hackers
mailing list