Skip to content

Commit 73dbe08

Browse files
authored
Merge pull request #73 from Automattic/fix/deprecated-var-format
Fix: Address deprecated variable format
2 parents 8fee727 + 6897ce7 commit 73dbe08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jsconcat.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ function do_items( $handles = false, $group = false ) {
151151
if ( isset( $js_array['paths'] ) && count( $js_array['paths'] ) > 1) {
152152
$paths = array_map( function( $url ) { return ABSPATH . $url; }, $js_array['paths'] );
153153
$mtime = max( array_map( 'filemtime', $paths ) );
154-
$path_str = implode( ',', $js_array['paths'] ) . "?m=${mtime}j";
154+
$path_str = implode( ',', $js_array['paths'] ) . "?m={$mtime}j";
155155

156156
if ( $this->allow_gzip_compression ) {
157157
$path_64 = base64_encode( gzcompress( $path_str ) );

0 commit comments

Comments
 (0)