[wp-trac] [WordPress Trac] #55121: classic widgets with no settings won't show up in 5.9

WordPress Trac noreply at wordpress.org
Thu Feb 10 22:55:07 UTC 2022


#55121: classic widgets with no settings won't show up in 5.9
----------------------------+----------------------
 Reporter:  joncampbell     |       Owner:  (none)
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Widgets         |     Version:  5.9
 Severity:  normal          |  Resolution:  invalid
 Keywords:  has-patch php8  |     Focuses:
----------------------------+----------------------

Comment (by jrf):

 @peterwilsoncc When a plugin overloads a WP native method and then changes
 the return type from the documented expected return type to something
 completely different from and incompatible with the return type of the
 original method, do you really expect WP to handle that ?

 Cause that's what's happening here.

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


More information about the wp-trac mailing list