WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/13/2008 11:09:15 PM (11 years ago)
Author:
ryan
Message:

Add save changes reminder to Widgets admin pending revamp in 2.8. Props mdawaffe. fixes #7863

File:
1 edited

Legend:

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

    r9114 r9140  
    223223            'confirmText' => __("Are you sure you want to delete the file '%title%'?\nClick ok to delete or cancel to go back.")
    224224        ) );
    225         $scripts->add( 'admin-widgets', '/wp-admin/js/widgets.js', array( 'interface' ), '20080503' );
     225        $scripts->add( 'admin-widgets', '/wp-admin/js/widgets.js', array( 'interface' ), '20081010' );
    226226        $scripts->localize( 'admin-widgets', 'widgetsL10n', array(
    227227            'add' => __('Add'),
    228228            'edit' => __('Edit'),
    229229            'cancel' => __('Cancel'),
     230            'lameReminder' => __('Remember to click the "Save Changes" button at the bottom of the Current Widgets column after you\'re all done!'),
     231            'lamerReminder' => __("You're about to leave without having saved your changes!")
    230232        ));
    231233
Note: See TracChangeset for help on using the changeset viewer.