Changeset 32655 for trunk/src/wp-admin/includes/class-wp-upgrader.php
- Timestamp:
- 05/29/2015 09:16:59 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-upgrader.php
r32653 r32655 1064 1064 * 1065 1065 * @global WP_Filesystem_Base $wp_filesystem Subclass 1066 * 1067 * @param bool|WP_Error $removed 1068 * @param string $local_destination 1069 * @param string $remote_destination 1070 * @param array $plugin 1071 * @return WP_Error|bool 1066 1072 */ 1067 1073 public function delete_old_plugin($removed, $local_destination, $remote_destination, $plugin) { … … 1167 1173 * 1168 1174 * @since 3.4.0 1175 * 1176 * @param bool $install_result 1177 * @param array $hook_extra 1178 * @param array $child_result 1179 * @return type 1169 1180 */ 1170 1181 public function check_parent_theme_filter( $install_result, $hook_extra, $child_result ) { … … 1237 1248 * 1238 1249 * @param array $actions Preview actions. 1250 * @return array 1239 1251 */ 1240 1252 public function hide_activate_preview_actions( $actions ) { … … 1525 1537 * 1526 1538 * @since 2.8.0 1539 * 1540 * @param bool|WP_Error $return 1541 * @param array $theme 1542 * @return bool|WP_Error 1527 1543 */ 1528 1544 public function current_before($return, $theme) { 1529 1530 1545 if ( is_wp_error($return) ) 1531 1546 return $return; … … 1549 1564 * 1550 1565 * @since 2.8.0 1566 * 1567 * @param bool|WP_Error $return 1568 * @param array $theme 1569 * @return bool|WP_Error 1551 1570 */ 1552 1571 public function current_after($return, $theme) { … … 1581 1600 * 1582 1601 * @global WP_Filesystem_Base $wp_filesystem Subclass 1602 * 1603 * @param bool $removed 1604 * @param string $local_destination 1605 * @param string $remote_destination 1606 * @param array $theme 1607 * @return bool 1583 1608 */ 1584 1609 public function delete_old_theme( $removed, $local_destination, $remote_destination, $theme ) { … … 1659 1684 * 1660 1685 * @static 1686 * 1687 * @param false|WP_Upgrader $upgrader 1661 1688 */ 1662 1689 public static function async_upgrade( $upgrader = false ) { … … 1881 1908 * 1882 1909 * @global WP_Filesystem_Base $wp_filesystem Subclass 1910 * 1911 * @param string|WP_Error $source 1912 * @param string $remote_source 1883 1913 */ 1884 1914 public function check_package( $source, $remote_source ) { … … 1912 1942 * @since 3.7.0 1913 1943 * 1914 * @param object The data for an update.1944 * @param object $update The data for an update. 1915 1945 * @return string The name of the item being updated. 1916 1946 */ … … 2621 2651 * @param string $type The type of update being checked: 'core', 'theme', 'plugin', 'translation'. 2622 2652 * @param object $item The update offer. 2653 * 2654 * @return null|WP_Error 2623 2655 */ 2624 2656 public function update( $type, $item ) { … … 2859 2891 * @global string $wp_version 2860 2892 * 2861 * @param object $update_result The result of the core update. Includes the update offer and result.2893 * @param object|WP_Error $update_result The result of the core update. Includes the update offer and result. 2862 2894 */ 2863 2895 protected function after_core_update( $update_result ) {
Note: See TracChangeset
for help on using the changeset viewer.