Make WordPress Core


Ignore:
Timestamp:
10/24/2020 12:29:01 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing duplicate hook references for allow_(dev|minor|major)_auto_core_updates filters.

Follow-up to [49254].

See #50907.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/update-core.php

    r49292 r49293  
    346346    }
    347347
    348     $upgrade_dev   = apply_filters( 'allow_dev_auto_core_updates', $upgrade_dev );
     348    /** This filter is documented in wp-admin/includes/class-core-upgrader.php */
     349    $upgrade_dev = apply_filters( 'allow_dev_auto_core_updates', $upgrade_dev );
     350    /** This filter is documented in wp-admin/includes/class-core-upgrader.php */
    349351    $upgrade_minor = apply_filters( 'allow_minor_auto_core_updates', $upgrade_minor );
     352    /** This filter is documented in wp-admin/includes/class-core-upgrader.php */
    350353    $upgrade_major = apply_filters( 'allow_major_auto_core_updates', $upgrade_major );
    351354
Note: See TracChangeset for help on using the changeset viewer.