[wp-trac] [WordPress Trac] #28079: #27601 breaks using wp_editor for saving text fields

WordPress Trac noreply at wordpress.org
Sun Oct 5 10:29:42 UTC 2014


#28079: #27601 breaks using wp_editor for saving text fields
--------------------------+------------------------------
 Reporter:  varun21       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  3.9
 Severity:  normal        |  Resolution:  wontfix
 Keywords:  close         |     Focuses:
--------------------------+------------------------------
Changes (by 3cees):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 Replying to [comment:1 ocean90]:
 > You have to define `textarea_name` in $settings for wp_editor(), see
 _WP_Editor:: parse_settings().

 If I set the textarea_name, it alos does not work.
 Example:


 {{{
 $editor_id = 'my_options[op_'.$pool["slug"].']';
 wp_editor( $content, $editor_id, array( "media_buttons" => FALSE,
 "textarea_rows" => 10, "teeny" => FALSE, 'textarea_name' => $editor_id )
 );
 }}}

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


More information about the wp-trac mailing list