Skip to content

Administration: Revert the On This Day section of the Activity widget. - #16012

Open
peterwilsoncc wants to merge 2 commits into
WordPress:trunkfrom
peterwilsoncc:revert/65116-on-this-day
Open

peterwilsoncc wants to merge 2 commits into
WordPress:trunkfrom
peterwilsoncc:revert/65116-on-this-day

Conversation

@peterwilsoncc

@peterwilsoncc peterwilsoncc commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Reverts the On This Day section of the Activity dashboard widget, added in WordPress 7.2 in r64593 / 051f9dc (developed in #14038).

This restores the Recent Comments section to the Activity widget and removes the dedicated Recent Comments dashboard widget, the wp_dashboard_on_this_day_query_args filter and the dashboard_recent_comments_widget_registered option check.

The revert applies cleanly to trunk. Three later commits touched the same files: r64799 / d9062a3, r65293 / 830f997 and r65317 / b28924e. None depends on the reverted code, and their changes are kept.

Trac ticket: https://core.trac.wordpress.org/ticket/65116

Proposed commit message (props to be added during commit):

Administration: Revert the On This Day section of the Activity widget.

The On This Day section of the Activity widget has been removed from the WordPress 7.2 release. This restores the Recent Comments section to the Activity widget and removes the dedicated Recent Comments dashboard widget.

This reverts r64593.

See #65116.

SVN commands to revert:

svn up
svn merge --dry-run -c -64593 .   # preview
svn merge -c -64593 .             # reverse-merge r64593
svn status                        # expect M on 3 files, D on tests/phpunit/tests/admin/wpDashboardSiteActivity.php
### Ensure that the deleted file is recorded as such and not showing as an empty file!!!!
svn diff
svn commit

Use of AI Tools

AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5.5
Used for: Identifying the commits to revert, preparing the revert and checking it against trunk; reviewed by me.


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

@github-actions

Copy link
Copy Markdown

Test using WordPress Playground

The changes in this pull request can previewed and tested using a WordPress Playground instance.

WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser.

Some things to be aware of

  • All changes will be lost when closing a tab with a Playground instance.
  • All changes will be lost when refreshing the page.
  • A fresh instance is created each time the link below is clicked.
  • Every time this pull request is updated, a new ZIP file containing all changes is created. If changes are not reflected in the Playground instance,
    it's possible that the most recent build failed, or has not completed. Check the list of workflow runs to be sure.

For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation.

Test this pull request with WordPress Playground.

@peterwilsoncc

Copy link
Copy Markdown
Contributor Author

@propsbot add @annezazu

@peterwilsoncc
peterwilsoncc marked this pull request as ready for review November 15, 2026 21:12
@github-actions

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs.

Core Committers: Use this line as a base for the props when committing in SVN:

Props peterwilsoncc, annezazu.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.


Props Bot commands

You can trigger Props Bot actions by commenting on this PR:

  • @propsbot add <username> to give props to a GitHub or WordPress.org user. Requires write access.
  • @propsbot remove <username> to leave a user out of the props. Requires write access.
  • @propsbot refresh to refresh this list. Adding the props-bot label works too.

@peterwilsoncc
peterwilsoncc force-pushed the revert/65116-on-this-day branch from 35028f8 to c678ad9 Compare November 19, 2026 01:25

@annezazu annezazu left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving this. Thank you.

For clarity, I haven’t heard directly from Matt to revert but I do want to pursue the direction I shared on the original issue next so we can cover more bases for 7.3 (view just your posts vs everyone’s, turn off by default for those with over 100k posts on a site, show all by default, etc).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants