wordpress-develop
wordpress-develop copied to clipboard
Post Types: Add 'at_a_glance' property and update dashboard widget logic. Refresh: 45035.diff
Following the patch in 45035.diff by @gwelser, I have refreshed and updated to work.
Testing Instructions
- Add a new CPT
- Set the
at_a_glanceargument totruein that CPT - Create a couple posts in that CPT, some published some not published
- Go to the admin dashboard, and check if "At a Glance" show the right number of published posts
Trac ticket: https://core.trac.wordpress.org/ticket/45035
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.