Skip to content

Commit c786ec6

Browse files
author
shin
committed
Merge branch 'develop'
2 parents 698cfcc + 3cf195a commit c786ec6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cherry-core.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
33
* Class Cherry Core
4-
* Version: 1.5.0
4+
* Version: 1.5.1
55
*
66
* @package Cherry_Framework
77
* @subpackage Class
@@ -363,7 +363,7 @@ public function get_module_file( $module ) {
363363
*/
364364
public static function base_url( $file_path = '', $module_path ) {
365365
$module_path = wp_normalize_path( $module_path );
366-
preg_match( '/\..*$/', $module_path, $ext );
366+
preg_match( '/\.[0-9a-z]+$/', $module_path, $ext );
367367

368368
if ( empty( $ext ) ) {
369369
$module_dir = $module_path;

0 commit comments

Comments
 (0)