Changeset 37687 for trunk/src/wp-admin/includes/class-wp-upgrader.php
- Timestamp:
- 06/11/2016 05:43:17 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/class-wp-upgrader.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-upgrader.php
r37558 r37687 763 763 * @since 3.6.0 764 764 * @since 3.7.0 Added to WP_Upgrader::run(). 765 * @since 4.6.0 `$translations` was added as a possible argument to `$hook_extra`. 765 766 * 766 767 * @param WP_Upgrader $this WP_Upgrader instance. In other contexts, $this, might be a 767 * Theme_Upgrader, Plugin_Upgrader or Core_Upgradeinstance.768 * Theme_Upgrader, Plugin_Upgrader, Core_Upgrade, or Language_Pack_Upgrader instance. 768 769 * @param array $hook_extra { 769 770 * Array of bulk item update data. 770 771 * 771 * @type string $action Type of action. Default 'update'. 772 * @type string $type Type of update process. Accepts 'plugin', 'theme', or 'core'. 773 * @type bool $bulk Whether the update process is a bulk update. Default true. 774 * @type array $plugins Array of the basename paths of the plugins' main files. 775 * @type array $themes The theme slugs. 772 * @type string $action Type of action. Default 'update'. 773 * @type string $type Type of update process. Accepts 'plugin', 'theme', 'translation', or 'core'. 774 * @type bool $bulk Whether the update process is a bulk update. Default true. 775 * @type array $plugins Array of the basename paths of the plugins' main files. 776 * @type array $themes The theme slugs. 777 * @type array $translations { 778 * Array of translations update data. 779 * 780 * @type string $language The locale the translation is for. 781 * @type string $type Type of translation. Accepts 'plugin', 'theme', or 'core'. 782 * @type string $slug Text domain the translation is for. The slug of a theme/plugin or 783 * 'default' for core translations. 784 * @type string $version The version of a theme, plugin, or core. 785 * } 776 786 * } 777 787 */
Note: See TracChangeset
for help on using the changeset viewer.