Plugin Directory

Changeset 446746


Ignore:
Timestamp:
10/03/2011 02:28:18 PM (14 years ago)
Author:
AdamBackstrom
Message:

Use plugins_url()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-whos-online/trunk/wp-whos-online.php

    r446744 r446746  
    3030    add_action( 'wp_head', 'wpwhosonline_css' );
    3131
    32     wp_enqueue_script('wpwhosonline', '/' . PLUGINDIR . '/wp-whos-online/wp-whos-online.js', array('jquery'));
     32    wp_enqueue_script( 'wpwhosonline', plugins_url('wp-whos-online.js', __FILE__), array('jquery'), 1 );
    3333
    3434    wpwhosonline_update();
Note: See TracChangeset for help on using the changeset viewer.