Make WordPress Core


Ignore:
Timestamp:
07/23/2020 09:53:43 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Miscellaneous DocBlock corrections.

See #49572.

File:
1 edited

Legend:

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

    r48590 r48591  
    485485 *
    486486 * If the meta field does not exist, the result depends on get_metadata_default().
    487  * By default, an empty string is returned if `$single` is true, or an empty array if it's false.
     487 * By default, an empty string is returned if `$single` is true, or an empty array
     488 * if it's false.
    488489 *
    489490 * @since 2.9.0
     
    592593 * Retrieves default metadata value for the specified object.
    593594 *
    594  * By default, an empty string is returned if `$single` is true, or an empty array if it's false.
     595 * By default, an empty string is returned if `$single` is true, or an empty array
     596 * if it's false.
    595597 *
    596598 * @since 5.5.0
     
    14141416    }
    14151417
    1416     // If this meta type does not have sub types, then the default is keyed as an empty string.
     1418    // If this meta type does not have subtypes, then the default is keyed as an empty string.
    14171419    if ( isset( $defaults[''] ) ) {
    14181420        $metadata = $defaults[''];
Note: See TracChangeset for help on using the changeset viewer.