Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#53286 closed defect (bug) (fixed)

Classic Widgets plugin no longer disables the block-based widget screen

Reported by: talldanwp's profile talldanwp Owned by: noisysocks's profile noisysocks
Milestone: 5.8 Priority: normal
Severity: normal Version: 5.8
Component: Widgets Keywords: has-patch
Focuses: Cc:

Description

Recently the classic widgets plugin stopped working. This might be related to the merge of the widget screen code to WordPress core (https://github.com/WordPress/wordpress-develop/pull/1284), so raising this issue here.

Steps to reproduce:

  1. Install and enable the Classic Widgets plugin
  2. Navigate to the Widgets screen

Expected
The classic widget screen should be shown.

Actual
The block based widget screen is shown.

Attachments (1)

53286.diff (492 bytes) - added by noisysocks 4 years ago.

Download all attachments as: .zip

Change History (4)

#1 @noisysocks
4 years ago

  • Owner set to noisysocks
  • Status changed from new to accepted

It looks like Classic Widgets uses wp_use_widgets_block_editor instead of use_widgets_block_editor. I'll update the filter name in core to be wp_use_widgets_block_editor since that matches the function name as well.

https://github.com/WordPress/classic-widgets/blob/trunk/classic-widgets.php

Last edited 4 years ago by noisysocks (previous) (diff)

@noisysocks
4 years ago

#2 @noisysocks
4 years ago

  • Keywords has-patch added

#3 @noisysocks
4 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

https://github.com/WordPress/classic-widgets/pull/3 changes the filter name in the Classic Widgets plugin.

Note: See TracTickets for help on using tickets.