Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate and remove the Recommendations Widget #2879

Open
vaurdan opened this issue Oct 21, 2024 · 1 comment
Open

Deprecate and remove the Recommendations Widget #2879

vaurdan opened this issue Oct 21, 2024 · 1 comment
Labels
Type: Maintenance Type: Refactoring Items that result directly or indirectly in refactoring

Comments

@vaurdan
Copy link
Contributor

vaurdan commented Oct 21, 2024

Is your feature request related to a problem?

The Parse.ly plugin includes a Recommendation Widget, and since WordPress 5.8 it's possible to use blocks as a widget. Since this widget is pretty much the same - feature-wise - as the recommendation block, we can likely deprecate it and remove the widget.

Describe the solution you'd like

Remove the entire class-recommendation-widget.php file that contains the Recommended_Widget class.

Describe alternatives you've considered

If we want to deprecate the widget before actually removing it from the codebase, we could try to detect if it is in use, and recommend changing to the Recommended Block instead, and keep it for a few releases.

Alternatively, we could keep a striped down version of the recommended widget that would be a wrapper for the recommendation block - not sure how technically feasible this is, but might be worth exploring.

Additional context

The only caveat I see from this deprecation, is users that are using the Classic Widgets plugin. Although, accordingly to the plugin page, the plugin "will be supported and maintained to 2024, or as long as is necessary", so eventually the ability of using classic widgets will be entirely unsupported in WordPress.

@vaurdan vaurdan added Type: Maintenance Type: Refactoring Items that result directly or indirectly in refactoring labels Oct 21, 2024
@vaurdan vaurdan added this to the Future Milestone milestone Oct 21, 2024
@acicovic
Copy link
Collaborator

I agree we should deprecate the Recommended Widget as the first step.

@Parsely Parsely deleted a comment Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Maintenance Type: Refactoring Items that result directly or indirectly in refactoring
Projects
None yet
Development

No branches or pull requests

3 participants
@vaurdan @acicovic and others