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

WordPress Trac noreply at wordpress.org
Fri Jul 5 00:43:01 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
-------------------------------+------------------------------

Comment (by pento):

 I'm honestly surprised that this is the only notice thrown when `post` or
 `page` is unregistered. 😄

 I'm not wild about adding special handling for post types that shouldn't
 be unregistered, but I'd certainly be open to revisiting #33714, which
 would also fix this issue.

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


More information about the wp-trac mailing list