Changeset 32642 for trunk/src/wp-admin/includes/class-wp-upgrader.php
- Timestamp:
- 05/28/2015 09:40:27 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-upgrader.php
r31991 r32642 142 142 * 143 143 * @since 2.8.0 144 * 145 * @global WP_Filesystem_Base $wp_filesystem Subclass 144 146 * 145 147 * @param array $directories Optional. A list of directories. If any of these do … … 245 247 * @since 2.8.0 246 248 * 249 * @global WP_Filesystem_Base $wp_filesystem Subclass 250 * 247 251 * @param string $package Full path to the package file. 248 252 * @param bool $delete_package Optional. Whether to delete the package file after attempting … … 297 301 * 298 302 * @since 2.8.0 303 * 304 * @global WP_Filesystem_Base $wp_filesystem Subclass 305 * @global array $wp_theme_directories 299 306 * 300 307 * @param array|string $args { … … 627 634 * @since 2.8.0 628 635 * 636 * @global WP_Filesystem_Base $wp_filesystem Subclass 637 * 629 638 * @param bool $enable True to enable maintenance mode, false to disable. 630 639 */ … … 958 967 * @since 3.3.0 959 968 * 969 * @global WP_Filesystem_Base $wp_filesystem Subclass 970 * 960 971 * @param string $source The path to the downloaded package source. 961 972 * @return string|WP_Error The source as passed, or a {@see WP_Error} object if no plugins were found. … … 1051 1062 * 1052 1063 * @since 2.8.0 1064 * 1065 * @global WP_Filesystem_Base $wp_filesystem Subclass 1053 1066 */ 1054 1067 public function delete_old_plugin($removed, $local_destination, $remote_destination, $plugin) { … … 1473 1486 * @since 3.3.0 1474 1487 * 1488 * @global WP_Filesystem_Base $wp_filesystem Subclass 1489 * 1475 1490 * @param string $source The full path to the package source. 1476 1491 * @return string|WP_Error The source or a WP_Error. … … 1564 1579 * 1565 1580 * @since 2.8.0 1581 * 1582 * @global WP_Filesystem_Base $wp_filesystem Subclass 1566 1583 */ 1567 1584 public function delete_old_theme( $removed, $local_destination, $remote_destination, $theme ) { … … 1735 1752 * 1736 1753 * @since 3.7.0 1754 * 1755 * @global WP_Filesystem_Base $wp_filesystem Subclass 1737 1756 * 1738 1757 * @param array $language_updates Optional. Language pack updates. Default empty array. … … 1860 1879 * 1861 1880 * @since 3.7.0 1881 * 1882 * @global WP_Filesystem_Base $wp_filesystem Subclass 1862 1883 */ 1863 1884 public function check_package( $source, $remote_source ) { … … 1945 1966 * 1946 1967 * @since 2.8.0 1968 * 1969 * @global WP_Filesystem_Base $wp_filesystem Subclass 1970 * @global callback $_wp_filesystem_direct_method 1947 1971 * 1948 1972 * @param object $current Response object for whether WordPress is current. … … 2219 2243 * @since 3.7.0 2220 2244 * 2245 * @global string $wp_version 2246 * @global string $wp_local_package 2247 * 2221 2248 * @return bool True if the checksums match, otherwise false. 2222 2249 */ … … 2463 2490 * 2464 2491 * @since 3.7.0 2492 * 2493 * @global wpdb $wpdb 2465 2494 * 2466 2495 * @param string $type The type of update being checked: 'core', 'theme', … … 2688 2717 * 2689 2718 * @since 3.7.0 2719 * 2720 * @global wpdb $wpdb 2721 * @global string $wp_version 2690 2722 */ 2691 2723 public function run() { … … 2822 2854 * If we tried to perform a core update, check if we should send an email, 2823 2855 * and if we need to avoid processing future updates. 2856 * 2857 * @global string $wp_version 2824 2858 * 2825 2859 * @param object $update_result The result of the core update. Includes the update offer and result. … … 2910 2944 * @since 3.7.0 2911 2945 * 2946 * @global string $wp_version 2947 * 2912 2948 * @param string $type The type of email to send. Can be one of 'success', 'fail', 'manual', 'critical'. 2913 2949 * @param object $core_update The update offer that was attempted.
Note: See TracChangeset
for help on using the changeset viewer.