WordPress.org

Make WordPress Core

Ticket #9346: 9346.diff

File 9346.diff, 523 bytes (added by Denis-de-Bernardy, 10 years ago)
  • wp-includes/class.wp-scripts.php

     
    162162        }
    163163
    164164        function do_footer_items() {
     165                $this->in_footer = array_diff($this->do_items(false, 1), $this->done);
    165166                if ( !empty($this->in_footer) ) {
    166167                        foreach( $this->in_footer as $key => $handle ) {
    167168                                if ( !in_array($handle, $this->done, true) && isset($this->registered[$handle]) ) {