[wp-trac] [WordPress Trac] #28030: cast $content as a string when calling do_shortcode()

WordPress Trac noreply at wordpress.org
Fri Apr 25 18:43:49 UTC 2014


#28030: cast $content as a string when calling do_shortcode()
--------------------------+------------------------------
 Reporter:  webstract     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Shortcodes    |     Version:  3.9
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by ocean90):

 You can't cast an array to a string. It should give you a array to string
 conversion notice. $content should be always a string.

 What is the code of `make_more_shortcodes()`?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28030#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list