Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #3992


Ignore:
Timestamp:
02/10/2012 02:21:04 PM (13 years ago)
Author:
boonebgorges
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3992 – Description

    initial v1  
    33WordPress recently introduced the 'bumpbot', a sister script to potbot that regularly checks for changes to .dev.css/.dev.js files, bumps version numbers if necessary to bust browser caches, and compresses them.
    44
    5 nacin has offered to help set up bumpbot for BP. Before we can move forward, we have to regularize our version strings. We're currently using date strings like '20120210', at least in bp-default's main files. WP's opted to use $wp_version throughout (removing manual version specifications when registering scripts, thereby falling back on $wp_version; see http://core.trac.wordpress.org/changeset/19621).
     5nacin has offered to help set up bumpbot for BP. Before we can move forward, we have to regularize our version strings. We're currently using date strings like '20120210', at least in bp-default's main css/js files. WP's opted to use $wp_version throughout (removing manual version specifications when registering scripts, thereby falling back on $wp_version; see http://core.trac.wordpress.org/changeset/19621).
    66
    77nacin reasonably suggests that we do something similar. Switch our js/css version number to $bp->version, and have the bumpbot autoincrement it here http://buddypress.trac.wordpress.org/browser/trunk/bp-loader.php#L55