Make WordPress Core


Ignore:
Timestamp:
10/26/2019 09:07:10 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Switch more docs over to typed array notation, plus some fixes.

See #48303, #41756

File:
1 edited

Legend:

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

    r46186 r46596  
    407407     * @since 3.1.0
    408408     *
    409      * @param array $meta_ids    An array of metadata entry IDs to delete.
    410      * @param int    $object_id   Object ID.
    411      * @param string $meta_key    Meta key.
    412      * @param mixed  $_meta_value Meta value.
     409     * @param string[] $meta_ids    An array of metadata entry IDs to delete.
     410     * @param int      $object_id   Object ID.
     411     * @param string   $meta_key    Meta key.
     412     * @param mixed    $_meta_value Meta value.
    413413     */
    414414    do_action( "delete_{$meta_type}_meta", $meta_ids, $object_id, $meta_key, $_meta_value );
     
    421421         * @since 2.9.0
    422422         *
    423          * @param array $meta_ids An array of post metadata entry IDs to delete.
     423         * @param string[] $meta_ids An array of metadata entry IDs to delete.
    424424         */
    425425        do_action( 'delete_postmeta', $meta_ids );
     
    450450     * @since 2.9.0
    451451     *
    452      * @param array  $meta_ids    An array of deleted metadata entry IDs.
    453      * @param int    $object_id   Object ID.
    454      * @param string $meta_key    Meta key.
    455      * @param mixed  $_meta_value Meta value.
     452     * @param string[] $meta_ids    An array of metadata entry IDs to delete.
     453     * @param int      $object_id   Object ID.
     454     * @param string   $meta_key    Meta key.
     455     * @param mixed    $_meta_value Meta value.
    456456     */
    457457    do_action( "deleted_{$meta_type}_meta", $meta_ids, $object_id, $meta_key, $_meta_value );
     
    464464         * @since 2.9.0
    465465         *
    466          * @param array $meta_ids An array of deleted post metadata entry IDs.
     466         * @param string[] $meta_ids An array of metadata entry IDs to delete.
    467467         */
    468468        do_action( 'deleted_postmeta', $meta_ids );
Note: See TracChangeset for help on using the changeset viewer.