mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Docs: Correct usage of the dynamic auto_update_{$type} filter.
This ensures that the canonical name of the filter is used in Site Health debug data, as well as on plugin and theme screens, so the developer reference site remains correct. Props johnbillion. Fixes #50868. git-svn-id: https://develop.svn.wordpress.org/trunk@48750 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -179,7 +179,12 @@ class WP_Automatic_Updater {
|
||||
* Filters whether to automatically update core, a plugin, a theme, or a language.
|
||||
*
|
||||
* The dynamic portion of the hook name, `$type`, refers to the type of update
|
||||
* being checked. Can be 'core', 'theme', 'plugin', or 'translation'.
|
||||
* being checked. Potential hook names include:
|
||||
*
|
||||
* - `auto_update_core`
|
||||
* - `auto_update_plugin`
|
||||
* - `auto_update_theme`
|
||||
* - `auto_update_translation`
|
||||
*
|
||||
* Generally speaking, plugins, themes, and major core versions are not updated
|
||||
* by default, while translations and minor and development versions for core
|
||||
|
||||
Reference in New Issue
Block a user