Skip to content

Commit

Permalink
release: 1.5.7
Browse files Browse the repository at this point in the history
- Fix Button Group Block borders
- Fix Plugin Card failing with additional attributes
- Fix permission callback missing in REST API Route
  • Loading branch information
HardeepAsrani authored Aug 12, 2020
2 parents c9ad521 + aa0808c commit 238c579
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 68 deletions.
7 changes: 5 additions & 2 deletions class-otter-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,11 @@ public function register_routes() {
'/regenerate_styles',
array(
array(
'methods' => \WP_REST_Server::DELETABLE,
'callback' => array( $this, 'regenerate_styles' ),
'methods' => \WP_REST_Server::DELETABLE,
'callback' => array( $this, 'regenerate_styles' ),
'permission_callback' => function () {
return current_user_can( 'manage_options' );
},
),
)
);
Expand Down
20 changes: 10 additions & 10 deletions composer.lock

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

76 changes: 23 additions & 53 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"react-notifications-component": "^2.4.0"
},
"devDependencies": {
"@babel/core": "^7.11.0",
"@babel/core": "^7.11.1",
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
"@babel/plugin-transform-async-to-generator": "^7.10.4",
"@babel/plugin-transform-react-jsx": "^7.10.4",
Expand All @@ -46,7 +46,7 @@
"babel-loader": "^8.1.0",
"conventional-changelog-simple-preset": "^1.0.14",
"cross-env": "7.0.2",
"css-loader": "^4.2.0",
"css-loader": "^4.2.1",
"eslint": "^7.6.0",
"eslint-config-wordpress": "^2.0.0",
"eslint-loader": "^4.0.2",
Expand All @@ -59,7 +59,7 @@
"node-sass": "^4.14.1",
"postcss-loader": "^3.0.0",
"replace-in-file": "^6.1.0",
"sass-loader": "^9.0.2",
"sass-loader": "^9.0.3",
"semantic-release": "^17.1.1",
"url-loader": "^4.1.0",
"webpack": "^4.44.1",
Expand Down

0 comments on commit 238c579

Please sign in to comment.