Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/20/2011 09:50:52 PM (14 years ago)
Author:
djpaul
Message:

Add version number to all javascript/CSS enqueues to ensure the correct version is sent to the client regardless of caching

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/functions.php

    r3771 r3777  
    128128    global $bp;
    129129
    130     wp_enqueue_script( 'dtheme-ajax-js', get_template_directory_uri() . '/_inc/global.js', array( 'jquery' ) );
     130    wp_enqueue_script( 'dtheme-ajax-js', get_template_directory_uri() . '/_inc/global.js', array( 'jquery' ), BP_VERSION );
    131131
    132132    // Add words that we need to use in JS to the end of the page so they can be translated and still used.
Note: See TracChangeset for help on using the changeset viewer.