[wp-trac] [WordPress Trac] #42915: Don't load admin dashboard widgets if they're not shown

WordPress Trac noreply at wordpress.org
Fri Dec 15 19:55:43 UTC 2017


#42915: Don't load admin dashboard widgets if they're not shown
-----------------------------------------+-----------------------------
 Reporter:  ComputerGuru                 |      Owner:
     Type:  enhancement                  |     Status:  new
 Priority:  normal                       |  Milestone:  Awaiting Review
Component:  General                      |    Version:  trunk
 Severity:  normal                       |   Keywords:
  Focuses:  administration, performance  |
-----------------------------------------+-----------------------------
 I'm not sure how doable this is given that #23910 was closed, but some
 plugins load slow admin dashboard widgets that use HTTP API requests or
 else involve heavy db lookups and processing. (Yes, these plugins should
 be designed better.)

 Since this is the admin dashboard and not some other component that is
 heavily modified and reconfigured such as the post page and since #23910
 was closed, would it be possible to require a page reload when an admin
 component is enabled (so that the page can be re-requested while calling
 the widget routine) instead of preloading all widgets and then simply
 hiding the unshown dashboard elements?

 Or perhaps #23910 could be revisited with consideration given to non-stock
 admin dashboard widgets that are not as "no big deal" as the ones that WP
 ships with out of the box.

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


More information about the wp-trac mailing list