[wp-trac] [WordPress Trac] #33208: Undefined index notice after installing a theme

WordPress Trac noreply at wordpress.org
Thu Jul 30 19:49:58 UTC 2015


#33208: Undefined index notice after installing a theme
----------------------------+-----------------------------
 Reporter:  jesin           |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 After a theme installed either from the WP.org repo or file upload the
 following notice is displayed:

 {{{
  Notice: Undefined index: preview in /var/www/wptrunk/src/wp-
 admin/includes/class-wp-upgrader-skins.php on line 663
 }}}

 The bug was introduced in [changeset:33492] when
 `$install_actions['preview']  =[...]` was removed at line 667. The current
 line 663 has a concatenating assignment operator (.=) which is causing
 this notice.

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


More information about the wp-trac mailing list