Changeset 10613 for trunk/src/bp-core/bp-core-functions.php
- Timestamp:
- 02/18/2016 11:10:33 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-functions.php
r10608 r10613 2314 2314 } 2315 2315 2316 /** 2317 * Get the correct filename suffix for minified assets. 2318 * 2319 * @since 2.5.0 2320 * 2321 * @return string 2322 */ 2323 function bp_core_get_minified_asset_suffix() { 2324 $ext = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; 2325 2326 // Ensure the assets can be located when running from /src/. 2327 if ( defined( 'BP_SOURCE_SUBDIRECTORY' ) && BP_SOURCE_SUBDIRECTORY === 'src' ) { 2328 $ext = str_replace( '.min', '', $ext ); 2329 } 2330 2331 return $ext; 2332 } 2333 2316 2334 /** Nav Menu ******************************************************************/ 2317 2335
Note: See TracChangeset
for help on using the changeset viewer.