Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
357753f84b | ||
|
|
9d1dddb462 | ||
|
|
d88a566aee | ||
|
|
b976b26454 |
No files matched your search
@@ -1,5 +1,10 @@
|
||||
# Changelog
|
||||
|
||||
## 1.3.2
|
||||
|
||||
- fixed dynamic method call crash on PHP 7
|
||||
- fixed issue with slashes in generated release archives
|
||||
|
||||
## 1.3.1
|
||||
|
||||
- fixed crash on event stop without matching start
|
||||
|
||||
+2
-1
@@ -144,7 +144,8 @@ class RoboFile extends \Robo\Tasks {
|
||||
|
||||
/** @var \Symfony\Component\Finder\SplFileInfo $file */
|
||||
foreach ( $finder as $file ) {
|
||||
$zipArchive->addFile( $file->getRealPath(), 'laps/' . $file->getRelativePathname() );
|
||||
$relativePathname = str_replace( '\\', '/', $file->getRelativePathname() );
|
||||
$zipArchive->addFile( $file->getRealPath(), 'laps/' . $relativePathname );
|
||||
}
|
||||
|
||||
if ( ! $zipArchive->status === ZIPARCHIVE::ER_OK ) {
|
||||
|
||||
@@ -4,7 +4,7 @@ Plugin Name: Laps
|
||||
Plugin URI: https://github.com/Rarst/laps
|
||||
Description: Light WordPress profiler.
|
||||
Author: Andrey "Rarst" Savchenko
|
||||
Version: 1.3
|
||||
Version: 1.3.2
|
||||
Author URI: http://www.rarst.net/
|
||||
Text Domain: laps
|
||||
Domain Path: /lang
|
||||
|
||||
+1
-1
@@ -106,7 +106,7 @@ class Laps {
|
||||
return $input;
|
||||
}
|
||||
|
||||
self::$stopwatch->$event['action']( $event['event'], $event['category'] );
|
||||
self::$stopwatch->{$event['action']}( $event['event'], $event['category'] );
|
||||
|
||||
return $input;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user