Make WordPress Core


Ignore:
Timestamp:
09/05/2026 08:44:43 AM (8 weeks ago)
Author:
wildworks
Message:

Docs: Align @param tag columns in general core API docblocks.

Aligns @param tag columns in docblocks across the general core APIs per the PHP inline documentation standards.

Developed in: ​https://github.com/WordPress/wordpress-develop/pull/13317

Props mukesh27, wildworks.
See #65818.

File:
1 edited

Legend:

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

    r62719 r63491  
    9999 * @see WP_oEmbed
    100100 *
    101  * @param string $url  The URL that should be embedded.
     101 * @param string       $url  The URL that should be embedded.
    102102 * @param array|string $args {
    103103 *     Optional. Additional arguments for retrieving embed HTML. Default empty.
    … …  
    265265 *
    266266 * @param array  $matches The RegEx matches from the provided regex when calling wp_embed_register_handler().
    267  * @param array  $attr Embed attributes.
    268  * @param string $url The original URL that was matched by the regex.
     267 * @param array  $attr    Embed attributes.
     268 * @param string $url     The original URL that was matched by the regex.
    269269 * @param array  $rawattr The original unmodified attributes.
    270270 * @return string The embed HTML.
Note: See TracChangeset for help on using the changeset viewer.