[wp-trac] [WordPress Trac] #28813: wp_editor() does not work when textarea name uses brackets

WordPress Trac noreply at wordpress.org
Thu Jul 10 14:59:59 UTC 2014


#28813: wp_editor() does not work when textarea name uses brackets
--------------------------+-----------------------------
 Reporter:  veganist      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  3.9.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 This is related to #27601.

 Since 3.9 it's not possible anymore to use wp_editor on a textarea with
 brackets in the name.


 {{{
 <textarea name="foo[bar]"></textarea>
 }}}

 However, using brackets in the name is perfectly valid afaik, and helps to
 add the texteditor's content to a set of variables, sent with a form.

 So, simply telling the user that this does not work does not seem to be a
 valid fix to me.

 Am i missing something? Is there a known workaround which does not require
 modifying the whole database of already saved meta data?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28813>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list