cabrerahector / wordpress-popular-posts

WordPress Popular Posts - A highly customizable WordPress widget that displays your most popular posts.
https://wordpress.org/plugins/wordpress-popular-posts/
GNU General Public License v2.0
280 stars 82 forks source link

Remove the WordPress Popular Posts classic widget #364

Closed cabrerahector closed 1 week ago

cabrerahector commented 1 year ago

The "classic" widget has been marked as deprecated since version 6.1.2 (see #362). By the time I start working on this people using the classic widget should have had enough time to migrate to the WordPress Popular Posts block and/or the [wpp] shortcode.

To do:

cabrerahector commented 6 months ago

Decided on a less abrupt approach: instead of completely deleting the widget from the codebase, the widget will now instead display a copy letting users know that it's been removed. No posts will be listed whatsoever. This will be the final push to get people to migrate to either the block or the shortcode.

Issue #381 will take care of removing everything related to the widget from the codebase on a follow-up release, maybe 7.1.0.

cabrerahector commented 1 month ago

Alternatively, we could also just remove the widget form and use $instance to build the popular posts list on the front-end. User would lose the ability to update the widget but in return their list may continue to render on screen which sounds like a fair compromise.

To assist with the migration process, the form could be replaced with a text representation of the shortcode maybe?