[wp-trac] [WordPress Trac] #39887: function of wp_editor
WordPress Trac
noreply at wordpress.org
Thu Feb 16 10:02:46 UTC 2017
#39887: function of wp_editor
--------------------------+------------------------
Reporter: kkking | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Editor | Version: 4.7.2
Severity: normal | Resolution: duplicate
Keywords: | Focuses:
--------------------------+------------------------
Comment (by kkking):
@swissspidy
add_action( 'add_meta_boxes', function(){
$key = "test";
$key1 = "test1";
add_meta_box($key1,'test',function($post)use($key){
wp_editor('', $key);
});
} );
I find if $key equal $key1,it's show
[[Image(http://ww2.sinaimg.cn/large/0060lm7Tgy1fcsg0pzpohj31490e8747.jpg)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39887#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list