Plugin Directory

Changeset 2163315


Ignore:
Timestamp:
09/26/2019 04:03:22 AM (7 years ago)
Author:
sebaxtian
Message:

v0.1.5

Location:
scss-library/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • scss-library/trunk/readme.txt

    r2162499 r2163315  
    5151
    5252== Changelog ==
     53= 0.1.5 =
     54* Solving multisite bugs.
     55
    5356= 0.1.4 =
    5457* Testing: Test environment added.
  • scss-library/trunk/scss-library.php

    r2162499 r2163315  
    44Description: Adds support for SCSS stylesheets to wp_enqueue_style.
    55Author: Juan Sebastián Echeverry
    6 Version: 0.1.4
     6Version: 0.1.5
    77Text Domain: scsslib
    88
  • scss-library/trunk/src/ScssLibrary.php

    r2162500 r2163315  
    128128        // Si es parte de un multisitio entonces hay que retirar el 'dominio'
    129129        if ( is_multisite() ) {
    130             $blog_details_path   = get_blog_details('path');
     130            $aux = get_blog_details();
     131            $blog_details_path   = $aux->path;
    131132            if($blog_details_path != PATH_CURRENT_SITE) {
    132133                $in = str_replace($blog_details_path, PATH_CURRENT_SITE, $in);
     
    137138        if (file_exists($in) === false) {
    138139            array_push($this->errors, array(
     140                'handle'  => $handle,
    139141                'file'    => basename($in),
    140142                'message' => __('Source file not found.', 'scsslib'),
     
    154156            if (wp_mkdir_p($outputDir) === false) {
    155157                array_push($this->errors, array(
     158                    'handle'  => $handle,
    156159                    'file'    => 'Cache Directory',
    157160                    'message' => __('File Permissions Error, unable to create cache directory. Please make sure the Wordpress Uploads directory is writable.', 'scsslib'),
     
    166169        if (is_writable($outputDir) === false) {
    167170            array_push($this->errors, array(
     171                'handle'  => $handle,
    168172                'file'    => 'Cache Directory',
    169173                'message' => __('File Permissions Error, permission denied. Please make the cache directory writable.', 'scsslib'),
     
    247251            } catch (Exception $e) {
    248252                array_push($this->errors, array(
     253                    'handle'  => $handle,
    249254                    'file'    => basename($in),
    250255                    'message' => $e->getMessage(),
     
    327332            <?php foreach ($this->errors as $error): ?>
    328333                <div class="scsslib-error">
    329                     <div class="scsslib-file"><?php print $error['file'] ?></div>
     334                    <div class="scsslib-file"><?php if($error['handle']) printf('%s : ', $error['handle']); ?><?php print $error['file'] ?></div>
    330335                    <div class="scsslib-message"><?php print $error['message'] ?></div>
    331336                </div>
  • scss-library/trunk/vendor/autoload.php

    r2162499 r2163315  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit308c89af10a712ff5637e8e1d055ad17::getLoader();
     7return ComposerAutoloaderInit2950130017fe2a02bb549ab1ff0e3a07::getLoader();
Note: See TracChangeset for help on using the changeset viewer.