[wp-trac] [WordPress Trac] #28030: cast $content as a string when calling do_shortcode()
WordPress Trac
noreply at wordpress.org
Sat Apr 26 17:00:06 UTC 2014
#28030: cast $content as a string when calling do_shortcode()
--------------------------+----------------------
Reporter: webstract | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Shortcodes | Version: 3.9
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------+----------------------
Changes (by TobiasBg):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
`do_shortcode()` is clearly documented and only accepts strings. That
`make_more_shortcodes()` is doing it wrong and should cast that array to a
string itself (probably in a loop).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28030#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list