diff --git a/changelog.txt b/changelog.txt index 2802592c6e..b3e03a792e 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,13 @@ == Changelog == += 5.4.7 = + +* Pressbooks 5.4.7 requires [WordPress 4.9.7](https://wordpress.org/news/2018/07/wordpress-4-9-7-security-and-maintenance-release/). +* Pressbooks 5.4.7 requires [McLuhan >= 2.4.0](https://github.com/pressbooks/pressbooks-book/). + +**Patches** + +* Fix 500 error introduced in [#1318](https://github.com/pressbooks/pressbooks/pull/1318): [#1326](https://github.com/pressbooks/pressbooks/pull/1326) + = 5.4.6 = * Pressbooks 5.4.6 requires [WordPress 4.9.7](https://wordpress.org/news/2018/07/wordpress-4-9-7-security-and-maintenance-release/). diff --git a/inc/class-sass.php b/inc/class-sass.php index e00ef7e6a6..0442db6e3e 100644 --- a/inc/class-sass.php +++ b/inc/class-sass.php @@ -165,7 +165,7 @@ public function compile( $scss, $includes = [] ) { } } catch ( \Exception $e ) { - $error_message = print_r( $sass->getParsedFiles(), true ); // @codingStandardsIgnoreLine + $error_message = print_r( $scssphp->getParsedFiles(), true ); // @codingStandardsIgnoreLine $_SESSION['pb_errors'][] = sprintf( __( 'There was a problem with SASS. Contact your site administrator. Error: %1$s %2$s', 'pressbooks' ), $e->getMessage(),