[wp-trac] [WordPress Trac] #38723: Widget correct number is not displayed into the global $wp_registered_widgets array

WordPress Trac noreply at wordpress.org
Tue Jul 12 18:23:55 UTC 2022


#38723: Widget correct number is not displayed into the global
$wp_registered_widgets array
-------------------------------------+------------------------------
 Reporter:  alexvorn2                |       Owner:  (none)
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Widgets                  |     Version:  4.7
 Severity:  normal                   |  Resolution:
 Keywords:  close reporter-feedback  |     Focuses:  docs
-------------------------------------+------------------------------
Changes (by hellofromTonya):

 * keywords:  close => close reporter-feedback
 * focuses:  template => docs


Comment:

 Hello @alexvorn2,

 It's been a lot of years since this ticket had movement. As @westonruter
 notes, it is by design and not a defect/bug.

 That said, I'm wondering about [#comment:5 your comment]:
 >The problem is that this can create confusion for everybody, as it did
 for me.
 >A lot of developers can face the same situation of not knowing why this
 happens.

 Are you thinking about additional information in the documentation? If
 yes, what kind of information could have potentially helped you avoid
 confusion?

 For example,
 [https://developer.wordpress.org/reference/classes/wp_widget/_set/ here's
 the docs page] for the `WP_Widget::_set()` method.

 Close the ticket?
 I realize it's been a long long long time since the reporter opened this
 ticket. As there's no bug to fix and it's marked as a `close` candidate,
 I'd suggest keeping it open for no longer than 3 months to give folks time
 to consider if additional docs are needed. Then if after 3 months there's
 no additional feedback, then the ticket can be re-closed.

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


More information about the wp-trac mailing list