[wp-trac] [WordPress Trac] #47652: wp_dashboard_right_now() emits debug notices on unregistered core post types

WordPress Trac noreply at wordpress.org
Thu Jul 4 20:39:52 UTC 2019


#47652: wp_dashboard_right_now() emits debug notices on unregistered core post
types
-------------------------------+------------------------------
 Reporter:  johnjamesjacoby    |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:  administration
-------------------------------+------------------------------
Changes (by johnjamesjacoby):

 * Attachment "47652.patch" added.

 Add empty() checks to $num_posts variable to avoid debug notices

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47652>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list