[wp-trac] [WordPress Trac] #27067: wp-admin/plugin-editor.php dies when no plugins are installed

WordPress Trac noreply at wordpress.org
Sat Feb 8 14:16:47 UTC 2014


#27067: wp-admin/plugin-editor.php dies when no plugins are installed
-------------------------------+---------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Plugins            |     Version:  3.0
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:  ui, administration
-------------------------------+---------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => has-patch
 * version:  3.8.1 => 3.0


Comment:

 Related: #13117

 We wouldn't want to call `get_plugins()` on every admin page load just to
 hide the menu item, see [14299].

 [attachment:27067.patch] turns the `wp_die()` message into a regular admin
 page with header and footer.

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


More information about the wp-trac mailing list