WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/21/2016 03:16:52 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Administration: Introduce admin_print_footer_scripts-$hook_suffix", a dynamic version of the admin_print_footer_scripts hook.

This is now more consistent with the generic admin_print_scripts and the dynamic admin_print_scripts-$hook_suffix hooks fired in wp-admin/admin-header.php.

Props tfrommen.
Fixes #34334.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-widgets.php

    r37166 r37279  
    801801    public function print_footer_scripts() {
    802802        /** This action is documented in wp-admin/admin-footer.php */
     803        do_action( 'admin_print_footer_scripts-widgets.php' );
     804
     805        /** This action is documented in wp-admin/admin-footer.php */
    803806        do_action( 'admin_print_footer_scripts' );
    804807
Note: See TracChangeset for help on using the changeset viewer.