WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/30/2019 11:34:11 AM (7 weeks ago)
Author:
johnbillion
Message:

Docs: Correct and improve inline docs relating to caching, terms, meta, and some misc tweaks.

See #47110

File:
1 edited

Legend:

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

    r45786 r45915  
    878878 * @global wpdb $wpdb WordPress database abstraction object.
    879879 *
    880  * @param string    $meta_type  Type of object metadata is for (e.g., comment, post, term, or user).
    881  * @param int|array $object_ids Array or comma delimited list of object IDs to update cache for
     880 * @param string       $meta_type  Type of object metadata is for (e.g., comment, post, term, or user).
     881 * @param string|int[] $object_ids Array or comma delimited list of object IDs to update cache for.
    882882 * @return array|false Metadata cache for the specified objects, or false on failure.
    883883 */
     
    913913     *
    914914     * @param mixed $check      Whether to allow updating the meta cache of the given type.
    915      * @param array $object_ids Array of object IDs to update the meta cache for.
     915     * @param int[] $object_ids Array of object IDs to update the meta cache for.
    916916     */
    917917    $check = apply_filters( "update_{$meta_type}_metadata_cache", null, $object_ids );
Note: See TracChangeset for help on using the changeset viewer.