[wp-trac] [WordPress Trac] #23786: Shortcodes inside comments
WordPress Trac
noreply at wordpress.org
Fri Mar 15 11:59:26 UTC 2013
#23786: Shortcodes inside comments
-----------------------------+-------------------------
Reporter: javitxu123 | Type: enhancement
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Shortcodes
Version: | Severity: minor
Keywords: |
-----------------------------+-------------------------
I think that shortcodes should not work inside html or php comments. The
following comment inserted in the Wordpress editor shows the images
gallery, breaks the layout of the theme and shows after the gallery these
characters -->
<!--[gallery ids="4585,4515,4587"] -->
If I use do_shortcode() in a plugin with a shortcode inside a php
comments, it's the same as it is with html comments.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23786>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list