[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 01:51:10 UTC 2022
#55121: classic widgets with no settings won't show up in 5.9
----------------------------+-----------------------
Reporter: joncampbell | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 5.9.1
Component: Widgets | Version: 5.9
Severity: normal | Resolution:
Keywords: has-patch php8 | Focuses:
----------------------------+-----------------------
Changes (by peterwilsoncc):
* status: closed => reopened
* resolution: invalid =>
* milestone: => 5.9.1
Comment:
I'm reopening this and putting it back on the 5.9.1 milestone.
A [https://wpdirectory.net/search/01FVGM7HZVE1GPT5DY3ZBFSECW search of the
plugin directory] shows there is a large number of sites potentially
affected.
I did a search for the one liner `function update($new_instance,
$old_instance) {}` -- unfortunately I can't use wpdirectory.net to search
for implementations that include line breaks (PSR-2, etc).
Given WP can work around it, I'd like to do so. A `@return void` isn't
optimal for the update function, but I am not sure it is ''doing it
wrong'' (to use the common vernacular against my better judgement).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55121#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list