Skip to content
Snippets Groups Projects
Commit 8edf3704 authored by Konrad Hilse's avatar Konrad Hilse
Browse files

fix to create table php

parent d8508713
No related branches found
Tags v1.4.0-rc1
No related merge requests found
......@@ -11,7 +11,7 @@ foreach ( $files as $file ) {
// Exclude the current directory (.) and parent directory (..)
if ( $file != '.' && $file != '..' && pathinfo( $file, PATHINFO_EXTENSION ) === 'zip' ) {
$basename = basename( $file, '.zip' );
$version = substr( $basename, strrpos( $basename, '-' ) + 1 );
$version = substr( $basename, 10 );
// Create a link to the file
$file_link = '\\wordpress-plugin\\' . $file;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment