Make WordPress Core


Ignore:
Timestamp:
10/26/2019 09:07:10 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Switch more docs over to typed array notation, plus some fixes.

See #48303, #41756

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/load.php

    r46183 r46596  
    705705 * @since 5.2.0
    706706 *
    707  * @param array $plugins List of absolute plugin main file paths.
    708  * @return array Filtered value of $plugins, without any paused plugins.
     707 * @param string[] $plugins Array of absolute plugin main file paths.
     708 * @return string[] Filtered array of plugins, without any paused plugins.
    709709 */
    710710function wp_skip_paused_plugins( array $plugins ) {
     
    775775 * @since 5.2.0
    776776 *
    777  * @param array $themes List of absolute theme directory paths.
    778  * @return array Filtered value of $themes, without any paused themes.
     777 * @param string[] $themes Array of absolute theme directory paths.
     778 * @return string[] Filtered array of themes, without any paused themes.
    779779 */
    780780function wp_skip_paused_themes( array $themes ) {
     
    883883     * @since 5.2.0
    884884     *
    885      * @param array $actions_to_protect Array of strings with AJAX actions to protect.
     885     * @param string[] $actions_to_protect Array of strings with AJAX actions to protect.
    886886     */
    887887    $actions_to_protect = (array) apply_filters( 'wp_protected_ajax_actions', $actions_to_protect );
Note: See TracChangeset for help on using the changeset viewer.