Make WordPress Core


Ignore:
Timestamp:
10/07/2012 03:44:30 AM (9 years ago)
Author:
nacin
Message:

Pass the screen context directly to get_sample_permalink_html(). see #16379.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r22127 r22129  
    370370        $scripts->add( 'postbox', "/wp-admin/js/postbox$suffix.js", array('jquery-ui-sortable'), false, 1 );
    371371
    372         $scripts->add( 'sample-permalink', "/wp-admin/js/sample-permalink.js", array(), false, 1 );
     372        $scripts->add( 'sample-permalink', "/wp-admin/js/sample-permalink$suffix.js", array(), false, 1 );
    373373        did_action( 'init' ) && $scripts->localize( 'sample-permalink', 'samplePermalinkL10n', array(
    374374            'ok' => __('OK'),
Note: See TracChangeset for help on using the changeset viewer.