[wp-trac] [WordPress Trac] #50875: Introduce a wrapper for the 'auto_update_{$type}' filter checks

WordPress Trac noreply at wordpress.org
Sun Oct 18 10:04:30 UTC 2020


#50875: Introduce a wrapper for the 'auto_update_{$type}' filter checks
-------------------------------------------------+-------------------------
 Reporter:  SergeyBiryukov                       |       Owner:
                                                 |  SergeyBiryukov
     Type:  enhancement                          |      Status:  reviewing
 Priority:  normal                               |   Milestone:  5.6
Component:  Upgrade/Install                      |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  dev-feedback has-patch needs-        |     Focuses:
  refresh                                        |
-------------------------------------------------+-------------------------
Changes (by garrett-eclipse):

 * keywords:  dev-feedback has-patch => dev-feedback has-patch needs-refresh


Comment:

 Thanks for the patch @rebasaurus, a couple notes;
 1. You'll want to update the since to 5.6.0 if it's to land in the
 upcoming major.
 2. Along with building the wrapper you'll want to apply it throughout
 core. The function should be applied to all instances of
 `"auto_update_{$type}"` as can be found in this changeset;
 https://core.trac.wordpress.org/changeset/48750
 3. The descriptions of the `@params` on the filters blocks should all
 align starting one space after the longer parameter name.

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


More information about the wp-trac mailing list