Changeset 2163315
- Timestamp:
- 09/26/2019 04:03:22 AM (7 years ago)
- Location:
- scss-library/trunk
- Files:
-
- 4 edited
-
readme.txt (modified) (1 diff)
-
scss-library.php (modified) (1 diff)
-
src/ScssLibrary.php (modified) (6 diffs)
-
vendor/autoload.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
scss-library/trunk/readme.txt
r2162499 r2163315 51 51 52 52 == Changelog == 53 = 0.1.5 = 54 * Solving multisite bugs. 55 53 56 = 0.1.4 = 54 57 * Testing: Test environment added. -
scss-library/trunk/scss-library.php
r2162499 r2163315 4 4 Description: Adds support for SCSS stylesheets to wp_enqueue_style. 5 5 Author: Juan Sebastián Echeverry 6 Version: 0.1. 46 Version: 0.1.5 7 7 Text Domain: scsslib 8 8 -
scss-library/trunk/src/ScssLibrary.php
r2162500 r2163315 128 128 // Si es parte de un multisitio entonces hay que retirar el 'dominio' 129 129 if ( is_multisite() ) { 130 $blog_details_path = get_blog_details('path'); 130 $aux = get_blog_details(); 131 $blog_details_path = $aux->path; 131 132 if($blog_details_path != PATH_CURRENT_SITE) { 132 133 $in = str_replace($blog_details_path, PATH_CURRENT_SITE, $in); … … 137 138 if (file_exists($in) === false) { 138 139 array_push($this->errors, array( 140 'handle' => $handle, 139 141 'file' => basename($in), 140 142 'message' => __('Source file not found.', 'scsslib'), … … 154 156 if (wp_mkdir_p($outputDir) === false) { 155 157 array_push($this->errors, array( 158 'handle' => $handle, 156 159 'file' => 'Cache Directory', 157 160 'message' => __('File Permissions Error, unable to create cache directory. Please make sure the Wordpress Uploads directory is writable.', 'scsslib'), … … 166 169 if (is_writable($outputDir) === false) { 167 170 array_push($this->errors, array( 171 'handle' => $handle, 168 172 'file' => 'Cache Directory', 169 173 'message' => __('File Permissions Error, permission denied. Please make the cache directory writable.', 'scsslib'), … … 247 251 } catch (Exception $e) { 248 252 array_push($this->errors, array( 253 'handle' => $handle, 249 254 'file' => basename($in), 250 255 'message' => $e->getMessage(), … … 327 332 <?php foreach ($this->errors as $error): ?> 328 333 <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> 330 335 <div class="scsslib-message"><?php print $error['message'] ?></div> 331 336 </div> -
scss-library/trunk/vendor/autoload.php
r2162499 r2163315 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 308c89af10a712ff5637e8e1d055ad17::getLoader();7 return ComposerAutoloaderInit2950130017fe2a02bb549ab1ff0e3a07::getLoader();
Note: See TracChangeset
for help on using the changeset viewer.