WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/01/2014 01:33:34 AM (6 years ago)
Author:
wonderboymusic
Message:

Improve various @param docs for src/wp-includes/*.

See #30224.

File:
1 edited

Legend:

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

    r30656 r30681  
    17461746 *
    17471747 * @param int $comment_id Comment ID
    1748  * @return string|bool Status might be 'trash', 'approved', 'unapproved', 'spam'. False on failure.
     1748 * @return false|string Status might be 'trash', 'approved', 'unapproved', 'spam'. False on failure.
    17491749 */
    17501750function wp_get_comment_status($comment_id) {
     
    22992299 * @param int $post_id Post ID
    23002300 * @param bool $do_deferred Whether to process previously deferred post comment counts
    2301  * @return bool True on success, false on failure
     2301 * @return bool|null True on success, false on failure
    23022302 */
    23032303function wp_update_comment_count($post_id, $do_deferred=false) {
     
    23772377 * @param string $url URL to ping.
    23782378 * @param int $deprecated Not Used.
    2379  * @return bool|string False on failure, string containing URI on success.
     2379 * @return false|string False on failure, string containing URI on success.
    23802380 */
    23812381function discover_pingback_server_uri( $url, $deprecated = '' ) {
Note: See TracChangeset for help on using the changeset viewer.