Add simple Chrome detection and updates for Gears dialog, fixes #7684

git-svn-id: https://develop.svn.wordpress.org/trunk@8815 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2008-09-05 16:29:03 +00:00
parent 6d94c5cfcc
commit 414eae6719
5 changed files with 43 additions and 23 deletions

View File

@@ -234,7 +234,7 @@ function wp_default_scripts( &$scripts ) {
'count' => __('Word count: %d')
));
$scripts->add( 'wp-gears', '/wp-admin/js/wp-gears.js', false, '20080721' );
$scripts->add( 'wp-gears', '/wp-admin/js/wp-gears.js', false, '20080905' );
$scripts->localize( 'wp-gears', 'wpGearsL10n', array(
'updateCompleted' => __('Update completed.'),
'error' => __('Error:')