[wp-trac] [WordPress Trac] #54309: The "auto-updates enabled / disabled" buttons go missing

WordPress Trac noreply at wordpress.org
Fri Jan 13 14:06:15 UTC 2023


#54309: The "auto-updates enabled / disabled" buttons go missing
--------------------------+---------------------------------
 Reporter:  NekoJonez     |       Owner:  audrasjb
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  6.2
Component:  Plugins       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  ui, administration
--------------------------+---------------------------------

Comment (by costdev):

 Looks like this is intended behaviour. [https://github.com/WordPress
 /wordpress-develop/blob/trunk/src/wp-admin/includes/class-wp-plugins-list-
 table.php#L118-L123 Ref]

 I'd suggest we remove this.

 However, unfortunately, the `show_autoupdates` property is coupled to the
 list table's navigation ''and'' the `Enable/Disable auto-updates` links
 that show in plugin rows.

 As this is a `protected` property, extender sub-classes may use this, and
 may ''want'' to hide the list table navigation for Auto-updates. If we
 remove the block mentioned above, this is a BC break.

 I can't see any relevant usage in
 [https://wpdirectory.net/search/01GPNPYYGSDXFC0EBT5KPVMP0M this search
 result].

 @audrasjb what are your thoughts on this?

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


More information about the wp-trac mailing list