mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-14 04:06:36 +09:00
- fixed vulnerabilities;
- small changes and fixes;
This commit is contained in:
@@ -476,8 +476,8 @@ if ( ! class_exists( 'Files' ) ) {
|
||||
***/
|
||||
function delete_file( $src ) {
|
||||
|
||||
if ( strstr( $src, '?' ) ){
|
||||
$splitted = explode('?', $src );
|
||||
if ( strstr( $src, '?' ) ) {
|
||||
$splitted = explode( '?', $src );
|
||||
$src = $splitted[0];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user