Changes between Initial Version and Version 1 of Ticket #32366, comment 8
- Timestamp:
- 05/13/2015 12:46:54 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32366, comment 8
initial v1 4 4 Bummer. Good to know. 5 5 6 I'm wondering if building in logic that we only call wp_count_comments() if that menu item is set would do it. It's dirty, but it could work. Everything else has some sort of way to stop the querying of the entire comments table.6 I'm wondering if there's a way we can stop the menu item from being created and the query from ever happening via some sort of filter. Everything else has some sort of way to stop the querying of the entire comments table. 7 7 8 8 The total comment count in the 'Right Now' dashboard widget can be disabled and the query prevented by unsetting the 'right now' meta box using the 'wp_dashboard_setup' action.