Automattic / Automattic/jetpack

Sync Gutenberg reusable blocks (`wp_block` post type)

Open
#10,907 0 comments 0 reactions 0 assignees View on GitHub
[Focus] Blocks [Package] Sync
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

Gutenberg stores re-usable blocks in `wp_block` post type.

We should add these to sync whitelist;

https://github.com/Automattic/jetpack/blob/4a8107b7ebd44a38da1e8604e4a0ebe865ea9c7d/sync/class.jetpack-sync-functions.php#L127-L130

See also https://github.com/Automattic/jetpack/issues/9909

Contributor guide

Open the contributing guide

Research direction

Start with sync/class.jetpack-sync-functions.php at the linked whitelist section and inspect how post types are listed for synchronization. Add wp_block to the whitelist, then verify that reusable Gutenberg blocks are included in sync behavior; issue 9909 provides related context.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend, data
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.