Make WordPress Core

Ticket #56285: wp-footer.patch

File wp-footer.patch, 1.0 KB (added by Drivingralle, 3 years ago)
  • wp-includes/class-wp-customize-nav-menus.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    diff --git a/wp-includes/class-wp-customize-nav-menus.php b/wp-includes/class-wp-customize-nav-menus.php
    a b  
    13221322                add_action( 'wp_enqueue_scripts', array( $this, 'customize_preview_enqueue_deps' ) );
    13231323                add_filter( 'wp_nav_menu_args', array( $this, 'filter_wp_nav_menu_args' ), 1000 );
    13241324                add_filter( 'wp_nav_menu', array( $this, 'filter_wp_nav_menu' ), 10, 2 );
    1325                 add_filter( 'wp_footer', array( $this, 'export_preview_data' ), 1 );
     1325                add_action( 'wp_footer', array( $this, 'export_preview_data' ), 1 );
    13261326                add_filter( 'customize_render_partials_response', array( $this, 'export_partial_rendered_nav_menu_instances' ) );
    13271327        }
    13281328