Make WordPress Core


Ignore:
Timestamp:
09/18/2011 09:17:09 PM (14 years ago)
Author:
koopersmith
Message:

Add pointers feature, and pointer to admin bar, props nacin for PHP bits, see #18693.

File:
1 edited

Legend:

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

    r18704 r18707  
    9595        'noPerm' => __('You do not have permission to do that.'),
    9696        'broken' => __('An unidentified error has occurred.')
     97    ) );
     98
     99    $scripts->add( 'wp-pointer', "/wp-includes/js/wp-pointer$suffix.js", array( 'jquery-ui-widget', 'jquery-ui-position' ), '20110918', 1 );
     100    $scripts->add_script_data( 'wp-pointer', 'wpPointerL10n', array(
     101        'close' => __('Close'),
    97102    ) );
    98103
     
    426431    $styles->add( 'wp-jquery-ui-dialog', "/wp-includes/css/jquery-ui-dialog$suffix.css", array(), '20101224' );
    427432    $styles->add( 'editor-buttons', "/wp-includes/css/editor-buttons$suffix.css", array(), '20110802' );
     433    $styles->add( 'wp-pointer', "/wp-includes/css/wp-pointer$suffix.css", array(), '20110918' );
    428434
    429435    foreach ( $rtl_styles as $rtl_style ) {
Note: See TracChangeset for help on using the changeset viewer.