[wp-trac] [WordPress Trac] #39196: When saving largmenus the JSON encoded string was not used. related to #14134

WordPress Trac noreply at wordpress.org
Fri Dec 9 09:24:45 UTC 2016


#39196: When saving largmenus the JSON encoded string was not used. related to
#14134
----------------------------------------+-----------------------------
 Reporter:  budaned                     |      Owner:
     Type:  defect (bug)                |     Status:  new
 Priority:  normal                      |  Milestone:  Awaiting Review
Component:  Menus                       |    Version:  trunk
 Severity:  normal                      |   Keywords:
  Focuses:  javascript, administration  |
----------------------------------------+-----------------------------
 This is a follow-up to #14134.

 The solution proposed in #14134 is not properly working. This is because
 the values of the JSON string are replacing $_POST but later on $_REQUEST
 was being used. The only reason it seemed to still work is because the
 post action of the form was populating all the variables, but still failed
 when the apache, php or suhosin were reached.

 In the proposed solution only the JSON string, menu ID and action are
 submitted by post and then $_POST and $_REQUEST are populated with the
 data.

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


More information about the wp-trac mailing list