Skip to content

Commit

Permalink
Merge pull request #86 from pristas-peter/develop
Browse files Browse the repository at this point in the history
v0.3.8
  • Loading branch information
pristas-peter authored Mar 5, 2021
2 parents bf0e929 + 1944e8a commit 2f35359
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Description: Enable blocks in WP GraphQL.
* Author: pristas-peter
* Author URI:
* Version: 0.3.7
* Version: 0.3.8
* Requires at least: 5.4
* License: GPL-3
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Types/Scalar/Scalar.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class Scalar {
public function __construct() {
add_action('graphql_register_types', function ($type_registry) {
add_action('graphql_register_types_late', function ($type_registry) {
register_graphql_scalar('BlockAttributesObject', [
'serialize' => function ($value) {
return json_encode($value);
Expand Down

0 comments on commit 2f35359

Please sign in to comment.