[wp-trac] [WordPress Trac] #41502: _wp_expand_nav_menu_post_data() corrupts multiple select (array value)

WordPress Trac noreply at wordpress.org
Wed Dec 13 09:49:01 UTC 2017


#41502: _wp_expand_nav_menu_post_data() corrupts multiple select (array value)
--------------------------------------+------------------------------
 Reporter:  elliotcondon              |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Menus                     |     Version:  4.9
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  administration
--------------------------------------+------------------------------
Changes (by dd32):

 * keywords:  needs-patch => has-patch has-unit-tests


Comment:

 [attachment:41502.diff] contains a fix & a unit test for this.

 I'm not 100% convinced that this hasn't changed the behaviour of the
 function in a some way, so more unit tests are probably needed / useful
 here.

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


More information about the wp-trac mailing list