Make WordPress Core

Changeset 59296


Ignore:
Timestamp:
10/27/2024 09:57:07 PM (6 weeks 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.

Reviewed by swissspidy.
Merges [59290] to the 6.7 branch.

Props kebbet, desrosj, apermo.
Fixes #61648.

Location:
branches/6.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.7

  • branches/6.7/src/wp-admin/includes/class-wp-debug-data.php

    r59176 r59296  
    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.