WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/06/2014 09:23:52 PM (6 years ago)
Author:
DrewAPicture
Message:

Convert various uses of (optional) in core parameter descriptions to use the style prescribed in the inline documentation standards for PHP.

The style for marking parameters optional in inline PHP docs is: @param type $var Optional. Description. Accepts. Default., where Accepts can be omitted on a case-by-case basis.

Props coffee2code.
Fixes #30591.

File:
1 edited

Legend:

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

    r30695 r30753  
    12151215 * @param string $username The user's username.
    12161216 * @param string $password The user's password.
    1217  * @param string $email The user's email (optional).
     1217 * @param string $email    The user's email.
    12181218 * @return int The new user's ID.
    12191219 */
Note: See TracChangeset for help on using the changeset viewer.