[wp-trac] [WordPress Trac] #36590: POST['nav-menu-data'] breaks other POST values

WordPress Trac noreply at wordpress.org
Thu Apr 21 22:22:28 UTC 2016


#36590: POST['nav-menu-data'] breaks other POST values
-------------------------------------+-------------------------------------
 Reporter:  Unyson                   |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  4.5.1
Component:  Menus                    |     Version:  4.5
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch has-unit-      |     Focuses:  javascript,
  tests                              |  administration
-------------------------------------+-------------------------------------

Comment (by swissspidy):

 One possibility would be to add a compat function for
 `array_replace_recursive()` for PHP < 5.3. BuddyPress did this a while
 back, see https://buddypress.trac.wordpress.org/changeset/9263.

 [attachment:36590.5.diff] is a proof-of-concept for that.

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


More information about the wp-trac mailing list