[wp-trac] [WordPress Trac] #23431: [embed] shortcode doesn't work with do_shortcode()

WordPress Trac noreply at wordpress.org
Sat Feb 9 17:54:35 UTC 2013


#23431: [embed] shortcode doesn't work with do_shortcode()
-----------------------------+------------------------------
 Reporter:  jtsternberg      |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |
-----------------------------+------------------------------

Comment (by helen):

 Well, yes, working code would be `global $wp_embed;
 $wp_embed->run_shortcode( $whatever );`. I'd check out the docs for the
 method - I think you'll find them helpful.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23431#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list