[wp-trac] [WordPress Trac] #56285: export_preview_data() added wrongly

WordPress Trac noreply at wordpress.org
Mon Jul 25 17:39:28 UTC 2022

#56285: export_preview_data() added wrongly
 Reporter:  Drivingralle  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Customize     |    Version:
 Severity:  trivial       |   Keywords:
  Focuses:                |
 The method export_preview_data() in WP_Customize_Nav_Menus is added as a
 filter to the hook wp_footer
 (https://developer.wordpress.org/reference/hooks/wp_footer/) as a filter
 but it's a action hook.

 Tiny bug. I'll attach a patch.

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

More information about the wp-trac mailing list