Make WordPress Core

Changeset 40938


Ignore:
Timestamp:
06/25/2017 07:19:23 AM (7 years ago)
Author:
DrewAPicture
Message:

Scripts: Correctly reference WP_Scripts::print_extra_script() as the replacement for the deprecated WP_Scripts::print_scripts_l10n() method, rather than a nonexistent global print_extra_script() function.

Props fergbrain.
See #41121.

File:
1 edited

Legend:

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

    r37985 r40938  
    198198     */
    199199    public function print_scripts_l10n( $handle, $echo = true ) {
    200         _deprecated_function( __FUNCTION__, '3.3.0', 'print_extra_script()' );
     200        _deprecated_function( __FUNCTION__, '3.3.0', 'WP_Scripts::print_extra_script()' );
    201201        return $this->print_extra_script( $handle, $echo );
    202202    }
Note: See TracChangeset for help on using the changeset viewer.