Hi, I’ve done some quick testing with a vanilla block plugin generated by Pinegrow in the latest WordPress release candidate (version 6.4). I wanted to check if it would work, but for my surprise, it simply doesn’t show up in the block inserter. Only an error message appears:
“Your site doesn’t include support for the “pinegrow-block/pinegrow-block” block. You can leave this block intact or remove it entirely.”
The issue is that pg-blocks-controls.js uses lodash, but WordPress now removes it.
I could make the block appear by adding lodash as a dependency in the wp_register_script function for the pg-blocks-controls.js file in wp_pg_blocks_helpers.php.
But probably this isn’t a proper solution, according to this comment from the Gutenberg repo.
@marc_io, you are a true hero! I’m not happy about the way WP is quietly deprecating things and I’m definitely not happy about having to re-export all my projects but I’m thankful that you found this and brought it to Pinegrow’s attention.
@adamslowe Thanks, we’re all in the same boat here. It’s been a lot of work to keep up with these constant changes, it’s almost a full time job, really. Let’s hope things start to settle a bit more, and kudos for the Pinegrow team to stay in this unstable game.