Make WordPress Core


Ignore:
Timestamp:
01/03/2021 09:55:04 PM (3 years ago)
Author:
johnbillion
Message:

Docs: Various docblock corrections particularly relating to boolean types.

See #51800

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-metadata-lazyloader.php

    r47153 r49926  
    7171     * @param string $object_type Type of object whose meta is to be lazy-loaded. Accepts 'term' or 'comment'.
    7272     * @param array  $object_ids  Array of object IDs.
    73      * @return bool|WP_Error True on success, WP_Error on failure.
     73     * @return void|WP_Error WP_Error on failure.
    7474     */
    7575    public function queue_objects( $object_type, $object_ids ) {
     
    111111     *
    112112     * @param string $object_type Object type. Accepts 'comment' or 'term'.
    113      * @return bool|WP_Error True on success, WP_Error on failure.
     113     * @return void|WP_Error WP_Error on failure.
    114114     */
    115115    public function reset_queue( $object_type ) {
Note: See TracChangeset for help on using the changeset viewer.