Docs: Miscellaneous DocBlock corrections for plugin and theme installation and updates.

See #49572.

git-svn-id: https://develop.svn.wordpress.org/trunk@48105 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-06-20 12:12:39 +00:00
parent 5e2ef3d937
commit e27ad0f007
7 changed files with 28 additions and 28 deletions
@@ -276,7 +276,6 @@ class WP_Automatic_Updater {
*
* @param string $type The type of update being checked: 'core', 'theme', 'plugin', 'translation'.
* @param object $item The update offer.
*
* @return null|WP_Error
*/
public function update( $type, $item ) {
@@ -1037,10 +1036,9 @@ class WP_Automatic_Updater {
* @type string $body The email message body.
* @type string $headers Any email headers, defaults to no headers.
* }
* @param string $type The type of email being sent. Can be one of
* 'success', 'fail', 'mixed'.
* @param array $successful_updates The updates that succeeded.
* @param array $failed_updates The updates that failed.
* @param string $type The type of email being sent. Can be one of 'success', 'fail', 'mixed'.
* @param array $successful_updates A list of updates that succeeded.
* @param array $failed_updates A list of updates that failed.
*/
$email = apply_filters( 'auto_plugin_theme_update_email', $email, $type, $successful_updates, $failed_updates );