Changeset 48591 for trunk/src/wp-includes/meta.php
- Timestamp:
- 07/23/2020 09:53:43 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/meta.php
r48590 r48591 485 485 * 486 486 * 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. 488 489 * 489 490 * @since 2.9.0 … … 592 593 * Retrieves default metadata value for the specified object. 593 594 * 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. 595 597 * 596 598 * @since 5.5.0 … … 1414 1416 } 1415 1417 1416 // If this meta type does not have sub 1418 // If this meta type does not have subtypes, then the default is keyed as an empty string. 1417 1419 if ( isset( $defaults[''] ) ) { 1418 1420 $metadata = $defaults[''];
Note: See TracChangeset
for help on using the changeset viewer.