[wp-trac] [WordPress Trac] #10457: Parse shortcodes in text widgets by default

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 16 18:39:44 UTC 2010


#10457: Parse shortcodes in text widgets by default
-------------------------+--------------------------------------------------
 Reporter:  ionfish      |       Owner:  azaozz                             
     Type:  enhancement  |      Status:  new                                
 Priority:  normal       |   Milestone:  3.0                                
Component:  Widgets      |     Version:  2.8                                
 Severity:  normal       |    Keywords:  has-patch tested shortcodes widgets
-------------------------+--------------------------------------------------

Comment(by hakre):

 It does not work, just search google for something like {{{First argument
 is expected to be a valid callback, 'shortcode_unautop' was given}}} and
 you'll see that it won't work. Looks like the callback ignite routine is
 not clever enough to check if something is callable before actually
 calling it.

 Secondly it looks like that there is need to ensure a certain thing is
 loaded in widgets before certain filter actually can be used.

 Full error message for reference:
 {{{call_user_func_array() [function.call-user-func-array]: First argument
 is expected to be a valid callback, 'shortcode_unautop' was given in
 /home/tcraig/public_html/yeastinfectioncenter/wp-includes/plugin.php  on
 line 166}}}

 Some blogs already report this as usefull for current and then 3.0. I
 strongly doubt that information.

 So, yes it's tested, but the tests are not successfull. In 3.0 it works in
 2.9.2 it does not work it looks like.

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


More information about the wp-trac mailing list