Make WordPress Core

Changeset 59165


Ignore:
Timestamp:
10/04/2024 11:02:27 AM (16 months ago)
Author:
SergeyBiryukov
Message:

Docs: Use typed array notation for the $attrs parameter in links_add_base_url().

Follow-up to [8540], [32590], [46596].

See #61608.

File:
1 edited

Legend:

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

    r59143 r59165  
    53935393 * @global string $_links_add_base
    53945394 *
    5395  * @param string $content String to search for links in.
    5396  * @param string $base    The base URL to prefix to links.
    5397  * @param array $attrs   The attributes which should be processed.
     5395 * @param string   $content String to search for links in.
     5396 * @param string   $base    The base URL to prefix to links.
     5397 * @param string[] $attrs   The attributes which should be processed.
    53985398 * @return string The processed content.
    53995399 */
Note: See TracChangeset for help on using the changeset viewer.