[wp-trac] [WordPress Trac] #29820: Smooth installation and updating of plugins and themes

WordPress Trac noreply at wordpress.org
Tue Feb 17 23:24:29 UTC 2015


#29820: Smooth installation and updating of plugins and themes
-----------------------------+---------------------------------------------
 Reporter:  markjaquith      |       Owner:
     Type:  task (blessed)   |      Status:  new
 Priority:  high             |   Milestone:  4.2
Component:  Upgrade/Install  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  ux-feedback      |     Focuses:  ui, javascript, administration
-----------------------------+---------------------------------------------

Comment (by jdgrimes):

 I just got the following error several times:

 {{{
 [17-Feb-2015 22:56:01 UTC] PHP Notice:  Undefined index: plugin in
 /Users/johngrimes/svn/wordpress/trunk/src/wp-admin/includes/update.php on
 line 279
 [17-Feb-2015 22:56:01 UTC] PHP Stack trace:
 [17-Feb-2015 22:56:01 UTC] PHP   1. {main}()
 /Users/johngrimes/svn/wordpress/trunk/src/wp-admin/plugins.php:0
 [17-Feb-2015 22:56:01 UTC] PHP   2. WP_List_Table->display()
 /Users/johngrimes/svn/wordpress/trunk/src/wp-admin/plugins.php:470
 [17-Feb-2015 22:56:01 UTC] PHP   3.
 WP_List_Table->display_rows_or_placeholder()
 /Users/johngrimes/svn/wordpress/trunk/src/wp-admin/includes/class-wp-list-
 table.php:952
 [17-Feb-2015 22:56:01 UTC] PHP   4. WP_Plugins_List_Table->display_rows()
 /Users/johngrimes/svn/wordpress/trunk/src/wp-admin/includes/class-wp-list-
 table.php:1015
 [17-Feb-2015 22:56:01 UTC] PHP   5. WP_Plugins_List_Table->single_row()
 /Users/johngrimes/svn/wordpress/trunk/src/wp-admin/includes/class-wp-
 plugins-list-table.php:374
 [17-Feb-2015 22:56:01 UTC] PHP   6. do_action()
 /Users/johngrimes/svn/wordpress/trunk/src/wp-admin/includes/class-wp-
 plugins-list-table.php:632
 [17-Feb-2015 22:56:01 UTC] PHP   7. call_user_func_array()
 /Users/johngrimes/svn/wordpress/trunk/src/wp-includes/plugin.php:496
 [17-Feb-2015 22:56:01 UTC] PHP   8. wp_plugin_update_row()
 /Users/johngrimes/svn/wordpress/trunk/src/wp-includes/plugin.php:496
 }}}

 I'm not sure how to reproduce.

 I believe it was introduced in [31333]
 (https://core.trac.wordpress.org/changeset/31333#file5). I'm not sure why
 `$plugin_data['plugin']` is used instead of `$file`.

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


More information about the wp-trac mailing list