mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
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:
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user