[wp-trac] [WordPress Trac] #39887: function of wp_editor

WordPress Trac noreply at wordpress.org
Thu Feb 16 08:59:11 UTC 2017


#39887: function  of  wp_editor
-------------------------------+------------------------------
 Reporter:  kkking             |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Editor             |     Version:  4.7.2
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by swissspidy):

 * keywords:   => reporter-feedback
 * focuses:  administration =>
 * component:  Gallery => Editor


Old description:

> add_action( 'add_meta_boxes', function(){
>
>     $key = "test";
>     add_meta_box($key,'test',function() use($key){
>         wp_editor('', $key);
>     });
>
> } );

New description:

 {{{
 add_action( 'add_meta_boxes', function(){

     $key = "test";
     add_meta_box($key,'test',function() use($key){
         wp_editor('', $key);
     });

 } );
 }}}

--

Comment:

 Hey there,

 Welcome to Trac! What exactly is the problem with `wp_editor()`=

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


More information about the wp-trac mailing list