[wp-trac] [WordPress Trac] #50868: Correct usage of the non-dynamic auto_update_plugin and auto_update_theme hooks

WordPress Trac noreply at wordpress.org
Fri Aug 7 16:17:31 UTC 2020


#50868: Correct usage of the non-dynamic auto_update_plugin and auto_update_theme
hooks
-------------------------------------------+-----------------------------
 Reporter:  johnbillion                    |       Owner:  SergeyBiryukov
     Type:  defect (bug)                   |      Status:  reopened
 Priority:  normal                         |   Milestone:  5.5
Component:  Upgrade/Install                |     Version:  trunk
 Severity:  normal                         |  Resolution:
 Keywords:  has-patch commit dev-feedback  |     Focuses:  docs
-------------------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:3 SergeyBiryukov]:
 > Looking at the patch, this would probably benefit from having a
 dedicated function as a wrapper for the filter, e.g.
 `wp_is_auto_update_forced_for_type()`, similar to
 `wp_is_auto_update_enabled_for_type()`.

 Follow-up: #50875

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


More information about the wp-trac mailing list