• Came across a small bug in the Utility class’s method for putting a blog in storage:

    --- a/plugins/windows-azure-storage/windows-azure-storage-util.php
    +++ b/plugins/windows-azure-storage/windows-azure-storage-util.php
    @@ -460,7 +460,7 @@ class WindowsAzureStorageUtil
           // Open file
           $handle = fopen($localFileName, 'r');
           if ($handle === false) {
    -        throw new Exception('Could not open the local file ' . localFileName);
    +        throw new Exception('Could not open the local file ' . $localFileName);
           }
    
           $blobRestProxy = WindowsAzureStorageUtil::getStorageClient();

    This isn’t a huge impact, as it only prevents the proper file name from displaying when the plugin can’t read it. This may also raise some notices in PHP.

    https://ww.wp.xz.cn/plugins/windows-azure-storage/

The topic ‘Bug in the Util Class’ is closed to new replies.