WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/10/2020 11:51:52 PM (14 months ago)
Author:
johnbillion
Message:

Docs: Various docblock corrections.

See #51800

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/factory/class-wp-unittest-factory-for-post.php

    r46985 r49789  
    2929     * @param array $args Array with elements for the post.
    3030     *
    31      * @return int|WP_Error The post ID on success. The value 0 or WP_Error on failure.
     31     * @return int The post ID on success. The value 0 on failure.
    3232     */
    3333    public function create_object( $args ) {
     
    4141     * @param array $fields  Post data.
    4242     *
    43      * @return int|WP_Error The post ID on success. The value 0 or WP_Error on failure.
     43     * @return int The post ID on success. The value 0 on failure.
    4444     */
    4545    public function update_object( $post_id, $fields ) {
Note: See TracChangeset for help on using the changeset viewer.