Changeset 59861
- Timestamp:
- 02/23/2025 11:09:25 AM (8 months ago)
- Location:
- trunk/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-upgrader.php
r59291 r59861 487 487 * 488 488 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass. 489 * @global array$wp_theme_directories489 * @global string[] $wp_theme_directories 490 490 * 491 491 * @param array|string $args { -
trunk/src/wp-admin/includes/update-core.php
r59803 r59861 19 19 * @since 2.7.0 20 20 * 21 * @global array$_old_files22 * @var array21 * @global string[] $_old_files 22 * @var string[] 23 23 * @name $_old_files 24 24 */ … … 841 841 * @since 6.2.0 842 842 * 843 * @global array$_old_requests_files844 * @var array843 * @global string[] $_old_requests_files 844 * @var string[] 845 845 * @name $_old_requests_files 846 846 */ … … 938 938 * themes from being installed on upgrade, explicitly define 939 939 * CORE_UPGRADE_SKIP_NEW_BUNDLED as true. 940 * @global array$_new_bundled_files941 * @var array940 * @global string[] $_new_bundled_files 941 * @var string[] 942 942 * @name $_new_bundled_files 943 943 */ … … 978 978 * The steps for the upgrader for after the new release is downloaded and 979 979 * unzipped is: 980 * 980 981 * 1. Test unzipped location for select files to ensure that unzipped worked. 981 982 * 2. Create the .maintenance file in current WordPress base. 982 983 * 3. Copy new WordPress directory over old WordPress files. 983 984 * 4. Upgrade WordPress to new version. 984 * 4.1. Copy all files/folders other than wp-content985 * 4.2. Copy any language files to WP_LANG_DIR (which may differ from WP_CONTENT_DIR986 * 4.3. Copy any new bundled themes/plugins to their respective locations985 * 1. Copy all files/folders other than wp-content 986 * 2. Copy any language files to `WP_LANG_DIR` (which may differ from `WP_CONTENT_DIR` 987 * 3. Copy any new bundled themes/plugins to their respective locations 987 988 * 5. Delete new WordPress directory path. 988 989 * 6. Delete .maintenance file. … … 1006 1007 * 1007 1008 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass. 1008 * @global array$_old_files1009 * @global array$_old_requests_files1010 * @global array$_new_bundled_files1009 * @global string[] $_old_files 1010 * @global string[] $_old_requests_files 1011 * @global string[] $_new_bundled_files 1011 1012 * @global wpdb $wpdb WordPress database abstraction object. 1012 1013 * … … 1604 1605 * @since 6.2.0 1605 1606 * 1606 * @global array$_old_requests_files Requests files to be preloaded.1607 * @global string[] $_old_requests_files Requests files to be preloaded. 1607 1608 * @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass. 1608 1609 * @global string $wp_version The WordPress version string. … … 1716 1717 * @since 4.2.2 1717 1718 * 1718 * @global array$wp_theme_directories1719 * @global string[] $wp_theme_directories 1719 1720 * @global WP_Filesystem_Base $wp_filesystem 1720 1721 */ … … 1762 1763 * 1763 1764 * @param string $directory Directory path. Expects trailingslashed. 1764 * @return array1765 * @return string[] 1765 1766 */ 1766 1767 function _upgrade_422_find_genericons_files_in_folder( $directory ) { -
trunk/src/wp-admin/includes/update.php
r58813 r59861 402 402 * @since 2.9.0 403 403 * 404 * @return array404 * @return object[] 405 405 */ 406 406 function get_plugin_updates() { … … 625 625 * @since 2.9.0 626 626 * 627 * @return array627 * @return WP_Theme[] 628 628 */ 629 629 function get_theme_updates() { -
trunk/src/wp-admin/includes/upgrade.php
r59828 r59861 2861 2861 * @param bool $execute Optional. Whether or not to execute the query right away. 2862 2862 * Default true. 2863 * @return arrayStrings containing the results of the various update queries.2863 * @return string[] Strings containing the results of the various update queries. 2864 2864 */ 2865 2865 function dbDelta( $queries = '', $execute = true ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid -
trunk/src/wp-includes/class-wp-recovery-mode.php
r59336 r59861 339 339 * @since 5.2.0 340 340 * 341 * @global array$wp_theme_directories341 * @global string[] $wp_theme_directories 342 342 * 343 343 * @param array $error Error details from `error_get_last()`. -
trunk/src/wp-includes/class-wp-theme.php
r59193 r59861 243 243 * @since 3.4.0 244 244 * 245 * @global array$wp_theme_directories245 * @global string[] $wp_theme_directories 246 246 * 247 247 * @param string $theme_dir Directory of the theme within the theme_root. -
trunk/src/wp-includes/theme.php
r59832 r59861 15 15 * @since 3.4.0 16 16 * 17 * @global array$wp_theme_directories17 * @global string[] $wp_theme_directories 18 18 * 19 19 * @param array $args { … … 106 106 * @since 3.4.0 107 107 * 108 * @global array$wp_theme_directories108 * @global string[] $wp_theme_directories 109 109 * 110 110 * @param string $stylesheet Optional. Directory name for the theme. Defaults to active theme. … … 381 381 * @since 2.9.0 382 382 * 383 * @global array$wp_theme_directories383 * @global string[] $wp_theme_directories 384 384 * 385 385 * @return array|string An array of theme roots keyed by template/stylesheet … … 406 406 * @since 2.9.0 407 407 * 408 * @global array$wp_theme_directories408 * @global string[] $wp_theme_directories 409 409 * 410 410 * @param string $directory Either the full filesystem path to a theme folder … … 442 442 * @since 2.9.0 443 443 * 444 * @global array$wp_theme_directories444 * @global string[] $wp_theme_directories 445 445 * 446 446 * @param bool $force Optional. Whether to force a new directory scan. Default false. … … 592 592 * @since 1.5.0 593 593 * 594 * @global array$wp_theme_directories594 * @global string[] $wp_theme_directories 595 595 * 596 596 * @param string $stylesheet_or_template Optional. The stylesheet or template name of the theme. … … 637 637 * @since 1.5.0 638 638 * 639 * @global array$wp_theme_directories639 * @global string[] $wp_theme_directories 640 640 * 641 641 * @param string $stylesheet_or_template Optional. The stylesheet or template name of the theme. … … 688 688 * @since 3.1.0 689 689 * 690 * @global array$wp_theme_directories690 * @global string[] $wp_theme_directories 691 691 * 692 692 * @param string $stylesheet_or_template The stylesheet or template name of the theme. … … 751 751 * @since 2.5.0 752 752 * 753 * @global array$wp_theme_directories753 * @global string[] $wp_theme_directories 754 754 * @global WP_Customize_Manager $wp_customize 755 755 * @global array $sidebars_widgets -
trunk/src/wp-includes/update.php
r59688 r59861 489 489 * The plugin update data with the latest details. Default false. 490 490 * 491 * @type string $id Optional. ID of the plugin for update purposes, should be a URI492 * specified in the `Update URI` header field.493 * @type string $slug Slug of the plugin.494 * @type string $version The version of the plugin.495 * @type string $url The URL for details of the plugin.496 * @type string $package Optional. The update ZIP for the plugin.497 * @type string $tested Optional. The version of WordPress the plugin is tested against.498 * @type string $requires_php Optional. The version of PHP which the plugin requires.499 * @type bool $autoupdate Optional. Whether the plugin should automatically update.500 * @type array$icons Optional. Array of plugin icons.501 * @type array$banners Optional. Array of plugin banners.502 * @type array$banners_rtl Optional. Array of plugin RTL banners.503 * @type array $translations {491 * @type string $id Optional. ID of the plugin for update purposes, should be a URI 492 * specified in the `Update URI` header field. 493 * @type string $slug Slug of the plugin. 494 * @type string $version The version of the plugin. 495 * @type string $url The URL for details of the plugin. 496 * @type string $package Optional. The update ZIP for the plugin. 497 * @type string $tested Optional. The version of WordPress the plugin is tested against. 498 * @type string $requires_php Optional. The version of PHP which the plugin requires. 499 * @type bool $autoupdate Optional. Whether the plugin should automatically update. 500 * @type string[] $icons Optional. Array of plugin icons. 501 * @type string[] $banners Optional. Array of plugin banners. 502 * @type string[] $banners_rtl Optional. Array of plugin RTL banners. 503 * @type array $translations { 504 504 * Optional. List of translation updates for the plugin. 505 505 * … … 975 975 * Fetched update data. 976 976 * 977 * @type array$counts An array of counts for available plugin, theme, and WordPress updates.977 * @type int[] $counts An array of counts for available plugin, theme, and WordPress updates. 978 978 * @type string $update_title Titles of available updates. 979 979 * } … … 987 987 * 988 988 * @since 2.8.0 989 *990 * @global string $wp_version The WordPress version string.991 989 */ 992 990 function _maybe_update_core() {
Note: See TracChangeset for help on using the changeset viewer.