[wp-trac] [WordPress Trac] #37502: Undefined index in function wp_dependencies_unique_hosts()

WordPress Trac noreply at wordpress.org
Thu Jul 28 16:58:17 UTC 2016


#37502: Undefined index in function wp_dependencies_unique_hosts()
----------------------------+-----------------------------
 Reporter:  stillatmylinux  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:  template        |
----------------------------+-----------------------------
 When I use wp_deregister_script( 'select2' ); in a plugin, I receive the
 following PHP notices:

 Notice: Undefined index: select2 in /Users/matt/projects/appp/www/wp-
 includes/general-template.php on line 2878

 Notice: Trying to get property of non-object in
 /Users/matt/projects/appp/www/wp-includes/general-template.php on line
 2879

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


More information about the wp-trac mailing list