Make WordPress Core

Opened 9 months ago

Last modified 9 months ago

#59273 assigned defect (bug)

Plugin: Create Block Theme Bug

Reported by: perthykjaerjensen's profile perthykjaerjensen Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 6.3
Component: General Keywords:
Focuses: Cc:

Description

I'm not sure where to file this bug. So please put it whereever it's relevant.

When I use the Create Block Theme plugin with WP 6.3 and try to install a Google Font this error comes up:

"Error: DISALLOW_FILE_EDIT cannot be enabled in wp-config.php to make modifications to the theme using this plugin."

I have tried to enable this in the wp_config.php, but this does not work.

Adding fonts should be more easy in the theme.

Change History (4)

#1 @Otto42
9 months ago

  • Focuses ui removed

The flag is to disallow file editing, which means that if you enable it then it will prevent this feature from working.

It seems like you already have this enabled and you need to disable it.

#2 @Otto42
9 months ago

  • Component changed from Plugins to General
  • Severity changed from major to minor

#3 @perthykjaerjensen
9 months ago

Thank you for quick response - but I have tried to disable it as suggested with no success. I think it's a general error in the plugin somehow - or a mismatch between settings in WP 6 and the plugin.

#4 @swissspidy
9 months ago

Bug reports for the Create Block Theme plugin should be reported at https://github.com/WordPress/create-block-theme

Note: See TracTickets for help on using tickets.