WordPress.org

Make WordPress Core

Ticket #10131: admin-footer.patch

File admin-footer.patch, 520 bytes (added by mrmist, 9 years ago)

Fix for admin-footer missing variable warning on discussion settings submit

  • wp-admin/admin-footer.php

     
    2525<?php
    2626do_action('admin_footer', '');
    2727do_action('admin_print_footer_scripts');
    28 do_action("admin_footer-$hook_suffix");
     28if ( isset($hook_suffix)) {do_action("admin_footer-$hook_suffix");}
    2929
    3030// get_site_option() won't exist when auto upgrading from <= 2.7
    3131if ( function_exists('get_site_option') ) {