Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/23/2011 02:47:55 PM (15 years ago)
Author:
djpaul
Message:

Set the unix date as the version identifier to script and style enqueues. See #3367

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/admin/bp-core-update.php

    r4795 r4816  
    12241224function bp_core_update_add_admin_menu_styles() {
    12251225    if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG )
    1226         wp_enqueue_style( 'bp-admin-css', apply_filters( 'bp_core_admin_css', plugins_url( '/buddypress' ) . '/bp-core/css/admin.dev.css' ), array(), BP_VERSION );
     1226        wp_enqueue_style( 'bp-admin-css', apply_filters( 'bp_core_admin_css', plugins_url( '/buddypress' ) . '/bp-core/css/admin.dev.css' ), array(), '20110723' );
    12271227    else
    1228         wp_enqueue_style( 'bp-admin-css', apply_filters( 'bp_core_admin_css', plugins_url( '/buddypress' ) . '/bp-core/css/admin.css' ), array(), BP_VERSION );
     1228        wp_enqueue_style( 'bp-admin-css', apply_filters( 'bp_core_admin_css', plugins_url( '/buddypress' ) . '/bp-core/css/admin.css' ), array(), '20110723' );
    12291229
    12301230    wp_enqueue_script( 'thickbox' );
Note: See TracChangeset for help on using the changeset viewer.