• Resolved Nikodemsky

    (@nikodemsky)


    All other plugins are disabled and my custom theme has no support for FSE (no theme.json, templates folder or custom filters); haven’t looked at the plugin code, but probably there’s some typo somewhere 🙂

    the url is:
    […]wp-admin/site-editor.php?p=/pattern

    View post on imgur.com

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Fernando Tellado

    (@fernandot)

    I’ll test it

    May you tell me some other info to help me to make tests?

    Sometimes, Gutenberg resources are too much consistent, but I’ll try 😀

    Thread Starter Nikodemsky

    (@nikodemsky)

    It’s pretty much fresh installation – Latest WP downloaded from wp.org + blank theme: https://github.com/Nikodemsky/blank-wptheme

    Plugin Author Fernando Tellado

    (@fernandot)

    Ah, okay, now I understand. That’s normal WordPress behavior, not a bug.

    Since WordPress 6.5/6.6, the Appearance > Patterns menu is displayed in all themes, even classic ones without FSE. WordPress decided to expose the Site Editor patterns page so that any user can manage their synced patterns (synced patterns / wp_block post type).

    The plugin currently:

    ✅ Removes remove_theme_support(‘core-block-patterns’)
    ✅ Blocks should_load_remote_block_patterns
    ❌ DOES NOT remove the “Patterns” submenu from Appearance
    ❌ DOES NOT block access to the Site Editor for patterns

    To avoid any misunderstandings, I will add a feature to the plugin so that the pattern menu is not displayed even if you have a non-FSE theme active.

    Thanks @nikodemsky 🙂

    Plugin Author Fernando Tellado

    (@fernandot)

    Plugin updated!

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.