Use parse_blocks() instead of gutenberg_parse_blocks() in WP >=5

9. joulukuuta 2018 klo 16.09
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: WordPress

The release of WordPress 5.0 brought up an issue with the use of gutenberg_parse_blocks() in aesop.php: apparently for WP versions with Gutenberg integrated, parse_blocks() should be used instead of gutenberg_parse_blocks(), otherwise a fatal error occurs when Gutenberg tries to redefine WP_Block_Parser_Block.

Vastaa viestiin sen kontekstissa (Github)