[wp-trac] [WordPress Trac] #41743: Using the_widget on a widget that has not been registered results in an undefined index notice.

WordPress Trac noreply at wordpress.org
Thu Aug 31 06:37:32 UTC 2017


#41743: Using the_widget on a widget that has not been registered results in an
undefined index notice.
--------------------------------------+------------------
 Reporter:  SeBsZ                     |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  4.9
Component:  Widgets                   |     Version:  2.8
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+------------------
Changes (by mrasharirfan):

 * keywords:  needs-patch good-first-bug => good-first-bug has-patch


Comment:

 Hi @obenland and @SeBsZ

 I have tested the patch. And it is working fine.

 Also, I have cleaned up the code according to WP Coding Standards given
 here: https://make.wordpress.org/core/handbook/best-practices/coding-
 standards/php/

 Cheers!

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


More information about the wp-trac mailing list