Make WordPress Core

Changeset 59290


Ignore:
Timestamp:
10/25/2024 01:18:54 AM (23 months ago)
Author:
peterwilsoncc
Message:

Site Health: Update inline docs following refactor of debug data.

Updates the inline docs following the modularization of the WP_Debug_Data.

Props kebbet, desrosj, apermo.
Fixes #61648.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-debug-data.php

    r59176 r59290  
    3131         *
    3232         * @throws ImagickException
    33          * @global array $_wp_theme_features
    3433         *
    3534         * @return array The debug data for the site.
     
    4039                 *
    4140                 * When iterating through the debug data, the ordering of the sections
    42                  * occurs in insertion-order of the assignments into this array. Setting
    43                  * up empty values here preserves that specific ordering, so it doesn't
    44                  * depend on when inside this method each section is otherwise assigned.
     41                 * occurs in insertion-order of the assignments into this array.
    4542                 *
    46                  * When all sections have been modularized, this will be the final single
    47                  * assignment of the sections before filtering and none will be empty.
    48                  *
    49                  * @ticket 61648
     43                 * This is the single assignment of the sections before filtering. Null-entries will
     44                 * be automatically be removed.
    5045                 */
    5146                $info = array(
     
    727722        }
    728723
    729 
    730724        /**
    731725         * Gets the WordPress MU plugins section of the debug data.
     
    10141008         *
    10151009         * @since 6.7.0
     1010         *
     1011         * @global array $_wp_theme_features
    10161012         *
    10171013         * @return array
Note: See TracChangeset for help on using the changeset viewer.