Make WordPress Core


Ignore:
Timestamp:
11/19/2012 01:28:32 AM (13 years ago)
Author:
nacin
Message:

Revert page on front changes. Reverts [22127] [22129] [22135] [22136]. see #16379.

File:
1 edited

Legend:

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

    r22604 r22653  
    358358        $scripts->add( 'postbox', "/wp-admin/js/postbox$suffix.js", array('jquery-ui-sortable'), false, 1 );
    359359
    360         $scripts->add( 'sample-permalink', "/wp-admin/js/sample-permalink$suffix.js", array(), false, 1 );
    361         did_action( 'init' ) && $scripts->localize( 'sample-permalink', 'samplePermalinkL10n', array(
     360        $scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox'), false, 1 );
     361        did_action( 'init' ) && $scripts->localize( 'post', 'postL10n', array(
    362362            'ok' => __('OK'),
    363363            'cancel' => __('Cancel'),
    364         ) );
    365 
    366         $scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox', 'sample-permalink' ), false, 1 );
    367         did_action( 'init' ) && $scripts->localize( 'post', 'postL10n', array(
    368364            'publishOn' => __('Publish on:'),
    369365            'publishOnFuture' =>  __('Schedule for:'),
Note: See TracChangeset for help on using the changeset viewer.