Make WordPress Core


Ignore:
Timestamp:
06/20/2020 12:57:00 PM (20 months ago)
Author:
SergeyBiryukov
Message:

Docs: Remove extra spaces from @param tags.

Per the documentation standards, @param tags should be aligned with each other, but not with the @return tag.

See #49572.

File:
1 edited

Legend:

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

    r48104 r48110  
    31453145 * @since 3.0.0
    31463146 *
    3147  * @param  string      $path   Optional. Path relative to the home URL. Default empty.
    3148  * @param  string|null $scheme Optional. Scheme to give the home URL context. Accepts
    3149  *                             'http', 'https', 'relative', 'rest', or null. Default null.
     3147 * @param string      $path   Optional. Path relative to the home URL. Default empty.
     3148 * @param string|null $scheme Optional. Scheme to give the home URL context. Accepts
     3149 *                            'http', 'https', 'relative', 'rest', or null. Default null.
    31503150 * @return string Home URL link with optional path appended.
    31513151 */
     
    31653165 * @global string $pagenow
    31663166 *
    3167  * @param  int         $blog_id Optional. Site ID. Default null (current site).
    3168  * @param  string      $path    Optional. Path relative to the home URL. Default empty.
    3169  * @param  string|null $scheme  Optional. Scheme to give the home URL context. Accepts
    3170  *                              'http', 'https', 'relative', 'rest', or null. Default null.
     3167 * @param int         $blog_id Optional. Site ID. Default null (current site).
     3168 * @param string      $path    Optional. Path relative to the home URL. Default empty.
     3169 * @param string|null $scheme  Optional. Scheme to give the home URL context. Accepts
     3170 *                             'http', 'https', 'relative', 'rest', or null. Default null.
    31713171 * @return string Home URL link with optional path appended.
    31723172 */
     
    33843384 * @since 2.6.0
    33853385 *
    3386  * @param  string $path   Optional. Extra path appended to the end of the URL, including
    3387  *                        the relative directory if $plugin is supplied. Default empty.
    3388  * @param  string $plugin Optional. A full path to a file inside a plugin or mu-plugin.
    3389  *                        The URL will be relative to its directory. Default empty.
    3390  *                        Typically this is done by passing `__FILE__` as the argument.
     3386 * @param string $path   Optional. Extra path appended to the end of the URL, including
     3387 *                       the relative directory if $plugin is supplied. Default empty.
     3388 * @param string $plugin Optional. A full path to a file inside a plugin or mu-plugin.
     3389 *                       The URL will be relative to its directory. Default empty.
     3390 *                       Typically this is done by passing `__FILE__` as the argument.
    33913391 * @return string Plugins URL link with optional paths appended.
    33923392 */
     
    34863486 * @since 3.0.0
    34873487 *
    3488  * @param  string $path   Optional. Path relative to the home URL. Default empty.
    3489  * @param  string $scheme Optional. Scheme to give the home URL context. Accepts
    3490  *                        'http', 'https', or 'relative'. Default null.
     3488 * @param string $path   Optional. Path relative to the home URL. Default empty.
     3489 * @param string $scheme Optional. Scheme to give the home URL context. Accepts
     3490 *                       'http', 'https', or 'relative'. Default null.
    34913491 * @return string Home URL link with optional path appended.
    34923492 */
Note: See TracChangeset for help on using the changeset viewer.