Disable Full Site Editing

Apraksts

Allow disabling full site editing in the admin, useful to protect a production site.
A block theme will continue to work as intended on the frontend while making sure the theme can’t be messed up.

⚠️ Full site editing is still fresh.
For the coming months I’ll keep testing the plugin with new (beta) releases of gutenberg and WordPres.

Uzstādīšana

Just install the plugin and activate.
There is an admin settings page or set the DISABLE_FSE constant.

BUJ

In what order does the plugin check if full site editing is allowed?

  1. The constant DISABLE_FSE set to true/false.
    You can add the constant in your wp-config.php file.
  2. The setting in the wp-admin (a sub page of the tools menu)
  3. The current WP_ENVIRONMENT_TYPE. Docs, A bit more details

How does the `DISABLE_FSE` constant work?

In your wp-config.php paste the following to always disable FSE:

define( 'DISABLE_FSE', true );

or to always enable FSE

define( 'DISABLE_FSE', false );

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“Disable Full Site Editing” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

“Disable Full Site Editing” ir tulkots lokalizācijās 6. Paldies tulkotājiem par ieguldījumu.

Tulkot “Disable Full Site Editing&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

1.2.0

  • Implemented a far more deed level disabling of FSE. Previously we just removed links in the admin.
    Now we just fake the current theme to not appear as FSE.

1.1.3

  • Fixed an JS error on the widgets page.

1.1.2

  • Removed unused files from SVN

1.1.1

  • The translations via Polyglot now work correctly thanks to Alex Lion

1.1.0

  • Fixed a couple of bugs.
  • Now also tested on multisite.

1.0.3

  • Fixed a JS bug

1.0.2

  • More precise disabling of FSE, it was to broad.
  • Disable adding/editing templates in the editor itself.

1.0.1

  • Added more functions checks.

1.0.0

  • Launch