WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/14/2015 03:12:49 PM (7 years ago)
Author:
wonderboymusic
Message:

Revert [31030] and [31033]. Incidentally, there is no lazy-loading happening here anyway.

Pushing #26111 to future.

File:
1 edited

Legend:

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

    r31223 r32124  
    164164        $tag = "{$cond_before}<script type='text/javascript' src='$src'></script>\n{$cond_after}";
    165165
    166         /**
     166        /** 
    167167         * Filter the HTML script tag of an enqueued script.
    168168         *
     
    193193            $handle = 'jquery-core';
    194194
    195         if ( is_callable( $l10n ) ) {
    196             $l10n = call_user_func( $l10n, $handle, $object_name );
    197         }
    198 
    199195        if ( is_array($l10n) && isset($l10n['l10n_print_after']) ) { // back compat, preserve the code in 'l10n_print_after' if present
    200196            $after = $l10n['l10n_print_after'];
Note: See TracChangeset for help on using the changeset viewer.