Check for a property of the object as well. props koopersmith, see #16194.

git-svn-id: https://develop.svn.wordpress.org/trunk@17266 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2011-01-12 06:11:18 +00:00
parent 85ec22211e
commit d2f18e4040
3 changed files with 3 additions and 3 deletions

View File

@@ -262,7 +262,7 @@ function wp_default_scripts( &$scripts ) {
$scripts->add( 'user-profile', "/wp-admin/js/user-profile$suffix.js", array( 'jquery', 'password-strength-meter' ), '20100925' );
$scripts->add_data( 'user-profile', 'group', 1 );
$scripts->add( 'admin-bar', "/wp-includes/js/admin-bar$suffix.js", false, '20110111a' );
$scripts->add( 'admin-bar', "/wp-includes/js/admin-bar$suffix.js", false, '20110112' );
$scripts->add_data( 'admin-bar', 'group', 1 );
$scripts->localize( 'admin-bar', 'adminBarL10n', array(
'l10n_print_after' => 'try{convertEntities(adminBarL10n);}catch(e){};',