Make WordPress Core


Ignore:
Timestamp:
02/23/2025 11:09:25 AM (3 months ago)
Author:
johnbillion
Message:

Docs: Various improvements to inline documentation.

See #62281

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/update-core.php

    r59803 r59861  
    1919 * @since 2.7.0
    2020 *
    21  * @global array $_old_files
    22  * @var array
     21 * @global string[] $_old_files
     22 * @var string[]
    2323 * @name $_old_files
    2424 */
     
    841841 * @since 6.2.0
    842842 *
    843  * @global array $_old_requests_files
    844  * @var array
     843 * @global string[] $_old_requests_files
     844 * @var string[]
    845845 * @name $_old_requests_files
    846846 */
     
    938938 *              themes from being installed on upgrade, explicitly define
    939939 *              CORE_UPGRADE_SKIP_NEW_BUNDLED as true.
    940  * @global array $_new_bundled_files
    941  * @var array
     940 * @global string[] $_new_bundled_files
     941 * @var string[]
    942942 * @name $_new_bundled_files
    943943 */
     
    978978 * The steps for the upgrader for after the new release is downloaded and
    979979 * unzipped is:
     980 *
    980981 *   1. Test unzipped location for select files to ensure that unzipped worked.
    981982 *   2. Create the .maintenance file in current WordPress base.
    982983 *   3. Copy new WordPress directory over old WordPress files.
    983984 *   4. Upgrade WordPress to new version.
    984  *     4.1. Copy all files/folders other than wp-content
    985  *     4.2. Copy any language files to WP_LANG_DIR (which may differ from WP_CONTENT_DIR
    986  *     4.3. Copy any new bundled themes/plugins to their respective locations
     985 *      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
    987988 *   5. Delete new WordPress directory path.
    988989 *   6. Delete .maintenance file.
     
    10061007 *
    10071008 * @global WP_Filesystem_Base $wp_filesystem          WordPress filesystem subclass.
    1008  * @global array              $_old_files
    1009  * @global array              $_old_requests_files
    1010  * @global array              $_new_bundled_files
     1009 * @global string[]           $_old_files
     1010 * @global string[]           $_old_requests_files
     1011 * @global string[]           $_new_bundled_files
    10111012 * @global wpdb               $wpdb                   WordPress database abstraction object.
    10121013 *
     
    16041605 * @since 6.2.0
    16051606 *
    1606  * @global array              $_old_requests_files Requests files to be preloaded.
     1607 * @global string[]           $_old_requests_files Requests files to be preloaded.
    16071608 * @global WP_Filesystem_Base $wp_filesystem       WordPress filesystem subclass.
    16081609 * @global string             $wp_version          The WordPress version string.
     
    17161717 * @since 4.2.2
    17171718 *
    1718  * @global array              $wp_theme_directories
     1719 * @global string[]           $wp_theme_directories
    17191720 * @global WP_Filesystem_Base $wp_filesystem
    17201721 */
     
    17621763 *
    17631764 * @param string $directory Directory path. Expects trailingslashed.
    1764  * @return array
     1765 * @return string[]
    17651766 */
    17661767function _upgrade_422_find_genericons_files_in_folder( $directory ) {
Note: See TracChangeset for help on using the changeset viewer.