Skip to content

Commit

Permalink
Merge pull request #188 from uriweb/release-2.0.3
Browse files Browse the repository at this point in the history
Release 2.0.3
  • Loading branch information
bjcfuller authored Mar 31, 2020
2 parents 221942e + 151aa03 commit b09f627
Show file tree
Hide file tree
Showing 12 changed files with 124 additions and 70 deletions.
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,16 @@

URI Modern is a WordPress theme designed for the University of Rhode Island. It's designed to replace all themes currently being used on the university's websites, and unify the online brand and experience.

## What's new in 2.0.2
## What's new in 2.0.3

URI Modern 2.0.2 is bug fix release.
URI Modern 2.0.3 is bug fix release.

* Removes border radius from [Component Library](https://github.com/uriweb/uri-component-library) heroes formatted as super and fullwidth
* Fixes an issue that prevented the Classic Editor from displaying button icons properly
* Fixes an issue that caused the Block Editor reordering controls to appear under the admin sidebar menu
* Whitelists the [Gravity Forms](https://www.gravityforms.com) Gutenberg block
* Other minor fixes
* Whitelists reusable blocks in the Block Editor
* Fixes an issue that caused the interface to freeze when fully deleting paragraph content in the Block Editor
* Fixes an issue that prevented an admin script from enqueuing
* Updates development tools

For complete details, see the [commit history](https://github.com/uriweb/uri-modern/pull/185/commits) and the [issue tracker](https://github.com/uriweb/uri-modern/issues).
For complete details, see the [commit history](https://github.com/uriweb/uri-modern/pull/188/commits) and the [issue tracker](https://github.com/uriweb/uri-modern/issues).

## How do I get set up?

Expand All @@ -35,4 +33,4 @@ Contributors: Brandon Fuller, John Pennypacker
Tags: themes
Requires at least: 4.0
Tested up to: 5.3
Stable tag: 2.0.2
Stable tag: 2.0.3
6 changes: 3 additions & 3 deletions inc/gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@
* Gutenberg scripts and styles
*/
function uri_modern_gutenberg_scripts() {
$file = get_template_directory() . '/js/block-editor.min.js';
$cache_buster = filemtime( $file );
wp_enqueue_script( 'uri-modern-block-editor', $file, array( 'wp-blocks', 'wp-dom' ), $cache_buster, true );
$file = get_template_directory_uri() . '/js/block-editor.min.js';
wp_enqueue_script( 'uri-modern-block-editor', $file, array( 'wp-blocks', 'wp-dom' ), uri_modern_cache_buster(), true );
}
add_action( 'enqueue_block_editor_assets', 'uri_modern_gutenberg_scripts' );

Expand All @@ -28,6 +27,7 @@ function uri_modern_gutenberg_scripts() {
*/
function uri_modern_allowed_blocks( $allowed_blocks, $post ) {
return array(
'core/block',
// common
'core/paragraph',
'core/image',
Expand Down
4 changes: 2 additions & 2 deletions js/script.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion map/style.admin.css.map

Large diffs are not rendered by default.

140 changes: 96 additions & 44 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uri-modern",
"version": "2.0.2",
"version": "2.0.3",
"description": "URI Modern is a WordPress theme designed for the University of Rhode Island. It's designed to replace all themes currently being used on the university's websites, and unify the online brand and experience.",
"themeName": "URI Modern",
"textDomain": "uri",
Expand All @@ -23,7 +23,7 @@
"licenseURI": "http://www.gnu.org/licenses/gpl.html",
"devDependencies": {
"@wordpress/eslint-plugin": "^4.0.0",
"autoprefixer": "^9.7.4",
"autoprefixer": "^9.7.5",
"gulp": "^4.0.2",
"gulp-changed": "^4.0.2",
"gulp-concat": ">=2.6.1",
Expand Down
4 changes: 2 additions & 2 deletions src/sass/admin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ STATIC VERSION
@import 'partials/lightbox';
@import 'partials/programfinder';
@import 'partials/people';
@import 'partials/editor';
@import 'partials/editor'; // Keep last in this list

/* COMPONENT LIBRARY */
@import 'partials/cl/boxouts';
Expand All @@ -58,4 +58,4 @@ STATIC VERSION
@import 'partials/cl/slideshows';
@import 'partials/cl/tabs';
@import 'partials/cl/videos';
@import 'partials/cl/gutenberg'; // Keep Last
@import 'partials/cl/gutenberg'; // Keep last in this list
4 changes: 4 additions & 0 deletions src/sass/partials/_editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,7 @@ p {
margin: 0 0 2rem;
max-width: 750px;
}

p:empty {
display: initial;
}
4 changes: 2 additions & 2 deletions static/script.static.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions static/style.static.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion style.admin.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b09f627

Please sign in to comment.