[wp-trac] [WordPress Trac] #50280: Enable auto-updates shows for plugins with no support

WordPress Trac noreply at wordpress.org
Thu Jun 4 00:44:27 UTC 2020


#50280: Enable auto-updates shows for plugins with no support
------------------------------------+-----------------------------------
 Reporter:  elrae                   |       Owner:  audrasjb
     Type:  enhancement             |      Status:  accepted
 Priority:  normal                  |   Milestone:  5.5
Component:  Upgrade/Install         |     Version:  trunk
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  docs, administration
------------------------------------+-----------------------------------

Comment (by azaozz):

 Replying to [comment:7 pbiron]:
 > Does this mean that the intention is that those hooking into it are
 supposed to `echo 'xyz'; return true;`

 Yes, with 50280.1.diff this would be harder to understand/use.

 In 50280.2.diff: same as 50280.1.diff but introduces
 `wp_theme_auto_update_setting_template()` that filters and returns the
 HTML template for the auto-update setting link in the theme overlay. The
 filter there works as any other HTML filter in WP. Last plugin to use it
 "wins".

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


More information about the wp-trac mailing list