WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/11/2020 06:30:58 PM (13 months ago)
Author:
SergeyBiryukov
Message:

Docs: In various @return tags, list the expected type first, instead of false.

Follow-up to [46696].

See #48303.

File:
1 edited

Legend:

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

    r47017 r47060  
    16461646 *
    16471647 * @param int|WP_Comment $comment_id Comment ID or WP_Comment object
    1648  * @return false|string Status might be 'trash', 'approved', 'unapproved', 'spam'. False on failure.
     1648 * @return string|false Status might be 'trash', 'approved', 'unapproved', 'spam'. False on failure.
    16491649 */
    16501650function wp_get_comment_status( $comment_id ) {
     
    25702570 * @param string $url URL to ping.
    25712571 * @param int $deprecated Not Used.
    2572  * @return false|string False on failure, string containing URI on success.
     2572 * @return string|false String containing URI on success, false on failure.
    25732573 */
    25742574function discover_pingback_server_uri( $url, $deprecated = '' ) {
Note: See TracChangeset for help on using the changeset viewer.