Make WordPress Core


Ignore:
Timestamp:
05/29/2025 11:07:35 PM (7 months ago)
Author:
johnbillion
Message:

Docs: Improvements and corrections to documentation relating to metadata.

See #63166

File:
1 edited

Legend:

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

    r59657 r60264  
    10231023 * Adds metadata to a site.
    10241024 *
     1025 * For historical reasons both the meta key and the meta value are expected to be "slashed" (slashes escaped) on input.
     1026 *
    10251027 * @since 5.1.0
    10261028 *
     
    10481050 * value, will keep from removing duplicate metadata with the same key. It also
    10491051 * allows removing all metadata matching key, if needed.
     1052 *
     1053 * For historical reasons both the meta key and the meta value are expected to be "slashed" (slashes escaped) on input.
    10501054 *
    10511055 * @since 5.1.0
     
    10911095 * Updates metadata for a site.
    10921096 *
    1093  * Use the $prev_value parameter to differentiate between meta fields with the
     1097 * Use the `$prev_value` parameter to differentiate between meta fields with the
    10941098 * same key and site ID.
    10951099 *
    10961100 * If the meta field for the site does not exist, it will be added.
     1101 *
     1102 * For historical reasons both the meta key and the meta value are expected to be "slashed" (slashes escaped) on input.
    10971103 *
    10981104 * @since 5.1.0
Note: See TracChangeset for help on using the changeset viewer.