[wp-trac] [WordPress Trac] #50662: Indicate when the `auto_update_{$type}` filter is being used

WordPress Trac noreply at wordpress.org
Mon Jul 20 17:36:13 UTC 2020


#50662: Indicate when the `auto_update_{$type}` filter is being used
-------------------------------------------------+-------------------------
 Reporter:  desrosj                              |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.5
Component:  Site Health                          |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  2nd-opinion has-patch needs-testing  |     Focuses:
                                                 |  administration
-------------------------------------------------+-------------------------
Changes (by desrosj):

 * keywords:  2nd-opinion => 2nd-opinion has-patch needs-testing


Comment:

 Sorry for the noise, had the wrong patch and then noticed an error.

 [attachment:"50662.3.diff"] is an initial proof of concept that flags the
 following situations:

 - The `auto_update_{$type}` filter returns `false` and the UI is set to
 display.
 - The `auto_update_{$type}` filter returns `false` and there is a function
 attached to the filter hook.

 Noting here that the "Background updates are working" description may be
 worth updating to reflect that plugin and theme updates may also be
 affected.

 Current string:
 `Background updates ensure that WordPress can auto-update if a security
 update is released for the version you are currently using.`

 Suggested change: `Background updates ensure that WordPress can auto-
 update if a security update is released for the version you are currently
 using, and that plugin and themes can auto-update when newer versions
 become available.`

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


More information about the wp-trac mailing list