Pointers: add default width (400px) that fixes positioning in IE7, add href attrib to the Close link, see #18693

git-svn-id: https://develop.svn.wordpress.org/trunk@18987 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2011-10-18 07:03:31 +00:00
parent 527935e883
commit 6bdce8d62f
3 changed files with 6 additions and 6 deletions

View File

@@ -96,7 +96,7 @@ function wp_default_scripts( &$scripts ) {
'broken' => __('An unidentified error has occurred.')
) );
$scripts->add( 'wp-pointer', "/wp-includes/js/wp-pointer$suffix.js", array( 'jquery-ui-widget', 'jquery-ui-position' ), '20111013b', 1 );
$scripts->add( 'wp-pointer', "/wp-includes/js/wp-pointer$suffix.js", array( 'jquery-ui-widget', 'jquery-ui-position' ), '20111017', 1 );
$scripts->add_script_data( 'wp-pointer', 'wpPointerL10n', array(
'close' => __('Close'),
) );